-->
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: JBOSS 4.0 and Hibernate 3.0.5
PostPosted: Wed Sep 07, 2005 10:34 am 
Newbie

Joined: Wed Sep 07, 2005 10:23 am
Posts: 4
I have installed JBoss 4.0 and put all the jar files of Hibernate 3.0.5 into the default/lib directory.

Problem

Iam using two Stateless Session Beans.
Bean 1 - Uses container Managed Transaction. Uses normal JDBC ro insert records into database.

Bean 2 - Uses hibernate for inserting records into database.

A method in Bean1 invokes the method in Bean2. Iam not using the hibernate transaction in method of Bean2.

When i run the program no exception is thrown but the record is not inserted by the method in Bean2. It is not able to use the transaction provided by caller method.

Can anyone suggest why this happening.


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.