[hibernate-issues] [Hibernate-JIRA] Created: (HB-1569) newSession.get(obj.getClass(),obj.getObjectID()) works well using HibernateTransactionManager, but fails when using JTATransactionManager.
Priti Parkar (JIRA)
noreply at atlassian.com
Mon Oct 9 03:02:24 EDT 2006
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
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