StatelessSession query uniquing is inconsistent when using fetching

Description

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.

Environment

None

Activity

Show:

Oskar Berggren 
September 21, 2014 at 9:29 PM

Duplicate

Details

Assignee

Reporter

Components

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
Who's Looking?