-->
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.  [ 2 posts ] 
Author Message
 Post subject: EJB transaction propagation
PostPosted: Wed Mar 28, 2007 3:29 am 
Newbie

Joined: Tue Jan 31, 2006 8:00 am
Posts: 14
Hi All,

Currently in our project we are using EJB (Stateless Session Beans) & Hibernate.
We are not using Spring.

All the SLSB's are container managed and we will start our transaction at the EJB layer which tehn gets propagated to the Hibernate layer.

My question here is do we need to set some specific configuration in such a way that the same transaction started at the EJB layer gets propagated to Hibernate & Hibernate makes use of the same transaction.

What would be the default behavior in this case. Would Hibernate start a new transaction & this Hibernate transaction would be a nested transaction under the EJB transaction.

Do ellaborate.


Regards


Top
 Profile  
 
 Post subject: hibernate transaction with ejb
PostPosted: Thu May 24, 2007 8:10 am 
Newbie

Joined: Tue Apr 17, 2007 6:20 am
Posts: 3
what ever the procedure you r doing is correct, transaction has to be opened and closed in hibernate env(because if any problems comes it will handle that)
can u help to solve some problem i am using slsb with weblogic and hibernate3.0 with dao(mysql 5.0) in myeclipse 5.1.0
pls send the code or tell the procedure to to that


plz send to annamdas.sri@gmail.com


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

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.