-->
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: No database update is done by Hibernate...
PostPosted: Mon Sep 20, 2004 4:53 am 
Regular
Regular

Joined: Sat May 15, 2004 4:27 am
Posts: 79
Hi all,

i am using Hibernate 2 and i am encountering an issue about one of my
tables. I can update, deleting and modify all of my persisted objects
except one of them. I noticed that the changes are done by Hibernate in
his cache but the session.flush doesn't work because the changes are not
done in the DB. What can i do ?

----------------
Sebastien


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 20, 2004 6:55 am 
Regular
Regular

Joined: Sat May 15, 2004 4:27 am
Posts: 79
The issue came from the fact my table was in InnoDB type.

-----------------
Sebastien


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 20, 2004 7:07 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
No, it came from the fact that you are not using the Transaction API, as you should


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.