[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-4088) Session.getSession should always return sessions from parent (or root) session

Steve Ebersole (JIRA) noreply at atlassian.com
Sat Aug 15 16:11:15 EDT 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-4088.
-------------------------------

    Resolution: Fixed

> Session.getSession should always return sessions from parent (or root) session
> ------------------------------------------------------------------------------
>
>                 Key: HHH-4088
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4088
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>             Fix For: 3.3.x, 3.5
>
>
> There is a bug in SessionImpl.getSession():
> 		if ( rootSession != null ) {
> 			rootSession.getSession( entityMode );
> 		}
> should read:
> 		if ( rootSession != null ) {
> 			return rootSession.getSession( entityMode );
> 		}
> (notice the missing return)

-- 
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