ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Wire Hibernate Transactions in Spring
Subject:   Hibernate Transaction in Spring
Date:   2005-05-19 11:23:23
From:   ilim72
Hi,
Thanks for a good article.
It sounds like you can work with several databases
without distributed transaction under JTA.
But in spring manual is always emphasized that in such cases when you need to work across multiple datasources spring would use JTA container to provide distributed transaction. Here is one quote from hibernate and spring integration doc
<< This allows for high level transaction demarcation with mixed Hibernate/JOB data access completely without JTA, as long as just accessing one database!>>.
But from your article I understood that it is possible to propagate transaction from one hibernate session to another without JTA.
Is that really so?
Thanks,
Sergei

1 to 1 of 1
  1. Hibernate Transaction in Spring
    2008-09-04 07:59:16  Cna8585 [View]

1 to 1 of 1