-->
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: SLSB (Hibernate and CMT)
PostPosted: Thu Dec 11, 2008 2:22 am 
Newbie

Joined: Tue Mar 06, 2007 10:45 pm
Posts: 2
Hi Guys,

I am a relative newbie in the hibernate world and was hoping one of you could answer this for me.

Why do we need to join the CMT transaction using the special WebSphereExtendedJTATransactionLookup class in Websphere application server or for that matter for any other application server.

Isnt it true that in case, say there is a SQLException thrown by ones' code, the Websphere Application server rollsback any transactions on the Datasource that Hibernate is trying to communicate with. So even if Hibernate is not registered itself for callbacks, wouldnt the transaction get rolled back since the EJB CMT would rollback using the JDBC driver that is configured for the datasource

Please, am really curious to find out more about this. I have tried to be as coherent as possible but excuse me if it does not seem to make sense to you. I would try to be more verbose.

_________________
Shivreet Sekhon


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.