Duplicate
Details
Details
Assignee
Oskar Berggren
Oskar BerggrenReporter
Oskar Berggren
Oskar BerggrenComponents
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created September 21, 2014 at 9:28 PM
Updated September 21, 2014 at 9:57 PM
Resolved September 21, 2014 at 9:57 PM
StatelessSession uniquing is inconsistent as in sometimes a query will use its temporary persistencecontext to return unique entity instances and in others it won't.
For example, consider a database where there is ONE family with TWO children:
This issue mimics the NHibernate issue https://hibernate.atlassian.net/browse/HHH-2564. This behavior seems to contradict the intended behavior according to the notes for the initial stateless session support in https://hibernate.atlassian.net/browse/HHH-742.