-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate with WAS6.0 - Transaction management
PostPosted: Sat Dec 03, 2005 10:40 am 
Beginner
Beginner

Joined: Thu Dec 01, 2005 7:07 pm
Posts: 21
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.