[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-2564) StatelessSession query uniquing is inconsistent
Max Rydahl Andersen (JIRA)
noreply at atlassian.com
Sun Apr 15 13:35:04 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Rydahl Andersen updated HHH-2564:
-------------------------------------
Attachment: testforpcinstatelesssession.patch
srcpcforstatelesssession.patch
src and test patch for suggested fix.
note that the test also contains a commented out test for relevant stateless-Interceptor support.
> StatelessSession query uniquing is inconsistent
> -----------------------------------------------
>
> Key: HHH-2564
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2564
> Project: Hibernate3
> Issue Type: Improvement
> Components: core
> Affects Versions: 3.2.3
> Reporter: Max Rydahl Andersen
> Attachments: srcpcforstatelesssession.patch, testforpcinstatelesssession.patch
>
>
> StatelessSession uniquing is inconsistent as in sometimes a query will use its temporary persistencecontext (introduced for HHH-1266) to return unique entity instances and in others it wont.
> According to the initial semantics intended (see HHH-742) it should actually do it for each query.
> Main issue is that:
> getEntityUsingInterceptor does not check temp persistencecontext
> internalLoad does not check temp persistencecontext nor create proxies consistent with get()
--
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