-->
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: Transaction support multiple DAO calls
PostPosted: Thu May 20, 2004 12:36 am 
Newbie

Joined: Wed May 19, 2004 11:50 pm
Posts: 9
I have the standard stateless session bean patterns which calls multiple DAO to get the work done all within the same transaction managed at the EJB container . If any db operations fail then exception is thrown and entire transaction is rolled back. I have a datasource defined and a connection pool . The application should work with all the standard appservers like Weblogic/JBoss/WebSphere/Orion ....


Now I want to introduce Hibernate.
Is there any transaction issue using Hibernate to make some of the above database calls? In short I am mixing JDBC and Hibernate calls and multiple DAO could be used to complete one Business operation initiated by calling the EJB.


I do not want to introduce any other framework like Spring. All I am trying to do is partially port some of the existing calls to Hibernate

Thanks very much.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 20, 2004 6:58 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
If you have container managed transactions, mixing JDBC and Hibernate should not be a problem, as long as you have both connections managed by the container.


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.