[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-906) Criteria API ignores 'where' attribute of class element

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Mar 21 13:01:16 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-906.
------------------------------


Closing stale resolved issues

> Criteria API ignores 'where' attribute of class element
> -------------------------------------------------------
>
>                 Key: HHH-906
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-906
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.0.5
>         Environment: Hibernate 3.0.5, Oracle 9i
>            Reporter: Patrick Dumontel
>            Assignee: Gavin King
>
> assume a where attribute in a class mapping:
> <class ... where="column_filter_id = 100"...>
> While HQL integrates the where segment to the generated SQL, the Criteria API seems not to be doing this.  My code ends up with multiple inserts of the same object instance when Criteria is used vs. HQL.  
> My apologies if this was reported previously.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list