Hello,
Could someone give a reference to usage of Hibernate with Rational Application Developer (WAS 6.0). Database: Oracle 9i. Requirement: To use Container managed transaction. Sample scenario:
Session bean has two methods SessionBeanMethodA and SessionBeanMethodB. SessionBeanMethodA calls a Business Object method (let us say, BOMethodA). BOMethodA calls DAOMethodA.
Similarly from SessionBeanMethodB --> BOMethodB --> DAOMethodB. If transaction A succeeds and B fails, both updates should be rolled back.
Here are the questions:
1) How to achieve the above mentioned?
2) Should one use Hibernate transaction / container managed transaction?
3) In case preference is to use container managed trn, what are the configuration required in Rational Application Developer adn Hibernate-config.xml?
Guess, this is too exhaustive, on the other hand, the intention is to get a end-to-end solution rather than in bits and pieces. Please help
Regards
|