[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2364?page=c...
]
Amir Pashazadeh commented on HHH-2364:
--------------------------------------
So why just not hold a reference to returned criteria to let a new criteria be created
with next call to the method?
There are sometimes that you need some different criteria (for example with different
projections) which are almost the same in their conditions.
DetachedCriteria.getExecutableCriteria(session) does not return a new
criteria each time
----------------------------------------------------------------------------------------
Key: HHH-2364
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2364
Project: Hibernate3
Type: Bug
Components: query-criteria
Versions: 3.2.1
Reporter: Amir Pashazadeh
detachedCriteria.getExecutableCriteria(session) does not return a new Criteria each
time;
so if some projection or ... is applied on the result criteria, it will remain on next
criterias.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira