[hibernate-issues] [Hibernate-JIRA] Resolved: (HB-1569) newSession.get(obj.getClass(),obj.getObjectID()) works well using HibernateTransactionManager, but fails when using JTATransactionManager.

Christian Bauer (JIRA) noreply at atlassian.com
Mon Oct 9 03:12:24 EDT 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/HB-1569?page=all ]
     
Christian Bauer resolved HB-1569:
---------------------------------

    Resolution: Rejected

http://forum.hibernate.org/


> newSession.get(obj.getClass(),obj.getObjectID()) works well using HibernateTransactionManager, but fails when using JTATransactionManager.
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: HB-1569
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HB-1569
>      Project: Hibernate2
>         Type: Task

>  Environment: Hibernate-2, Oracle db using JDBC connection.
>     Reporter: Priti Parkar
>  Attachments: SystemOut.log
>
> Original Estimate: 1 week
>         Remaining: 1 week
>
> I am making a following call in HibernateTransactionMAnager environement,
> Session newSession = lSessionFactory.openSession();
> PersistentObject persobj = (PersistentObject) newSession.get(obj.getClass(),obj.getObjectID());
> This call fetches me the not-refreshed data in local Hibernate transactions, but while using JTA transaction manager, it fetches me the refreshed data. I want the above call to fetch me the data which has not yet been updated during the transaction. How do I fetched the original data(not yet flushed in the database) in JTA environment?

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