]
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: