[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3720) Method getSession(EntityMode) on child session does not return value provided by root session
David Archer (JIRA)
noreply at atlassian.com
Wed Feb 24 19:37:47 EST 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35693#action_35693 ]
David Archer commented on HHH-3720:
-----------------------------------
This looks like it's a duplicate of HHH-4088 which has been resolved
> Method getSession(EntityMode) on child session does not return value provided by root session
> ---------------------------------------------------------------------------------------------
>
> Key: HHH-3720
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3720
> Project: Hibernate Core
> Issue Type: Bug
> Components: core
> Affects Versions: 3.3.1
> Reporter: Michael Bezoyan
> Priority: Critical
>
> Current code at line 251 in class org.hibernate.impl.SessionImpl
> public Session getSession(EntityMode entityMode) {
> if ( this.entityMode == entityMode ) {
> return this;
> }
> if ( rootSession != null ) {
> rootSession.getSession( entityMode );
> }
> Should be:
> public Session getSession(EntityMode entityMode) {
> if ( this.entityMode == entityMode ) {
> return this;
> }
> if ( rootSession != null ) {
> return rootSession.getSession( entityMode );
> }
--
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