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

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


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