Announcement Announcement Module
Collapse
No announcement yet.
Problem with Hibernate and JtaTransactionManager Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with Hibernate and JtaTransactionManager

    We have an application which creates some data in the database using
    Code:
    HibernateTemplate.persist(..)
    and looks up for this data with
    Code:
    HibernateTemplate.find(..)
    later within the same transaction.

    Everything works fine using the
    Code:
    org.springframework.orm.hibernate3.HibernateTransactionManager
    .

    If we change the transactionmanager to
    Code:
    org.springframework.transaction.jta.JtaTransactionManager
    the find operation will not find the inserted record.

    What else do I have to configure to use JTA transactions whith Hibernate?

    (Spring 2.0, Hibernate 3.2.0.cr4, JBoss 4.0.5.GA)
Working...
X