-->
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.  [ 3 posts ] 
Author Message
 Post subject: JBoss/Hibernate.sar: Values not persisted
PostPosted: Thu Feb 19, 2004 12:27 pm 
Regular
Regular

Joined: Thu Feb 19, 2004 4:48 am
Posts: 62
Hi,

i have a strange problem with JBoss&hibernate as a .sar: I have a SessionBean, that has to persist classes into the db, using the Hibernate-Sessions fetched from the .sar - I get no exceptions neither on openSession, beginTransaction, nor on tx.commit() - but the value is never saved to the Database - is there anything else I am missing here???!

And what happens if i just want to join a transaction - I see from the logs, that hibernate starts a user_transaction, when i sess.beginTransaction(); - what do i have to do when i just want to join a container-transaction?! Just skip the .beginTransaction/.commit()?!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 19, 2004 12:30 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Do not crosspost the forums. Answers here: http://forum.hibernate.org/viewtopic.php?t=928158


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 19, 2004 12:45 pm 
Regular
Regular

Joined: Thu Feb 19, 2004 4:48 am
Posts: 62
sorry, I was not sure where to put it: It's actually a System Integration Beginner's Question:)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.