[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5609) Move SessionImplementor#wasInsertedDuringTransaction to PersistenceContext

Steve Ebersole (JIRA) noreply at atlassian.com
Thu Sep 30 13:12:59 EDT 2010


Move SessionImplementor#wasInsertedDuringTransaction to PersistenceContext
--------------------------------------------------------------------------

                 Key: HHH-5609
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5609
             Project: Hibernate Core
          Issue Type: Improvement
    Affects Versions: 3.6.0.CR2
            Reporter: Steve Ebersole
            Assignee: Steve Ebersole
             Fix For: 3.6.x


The fix for HHH-5490 included adding a method to {{SessionImplementor}}.  Most libraries that wrap Hibernate implement this interface which causes an upgrade "task".  Technically this could be made part of the {{PersistenceContext}} contract and have no compatibility issue.  

Initially I had decided to not do it that way because, for example, {{StatelessSession}} handles this differently than does {{Session}}.  But it is possible to account for that.  And doing so means easier upgrades for said libraries.

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