-->
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: Clarifiction on MySQL InnoDB tables , flush() and TXN api
PostPosted: Tue Jun 21, 2005 10:13 am 
Newbie

Joined: Mon Jun 20, 2005 12:31 pm
Posts: 14
I need clarification on one detail. I have been scouring all over trying to figure out why i cant do a simple hibnerate save() action followed by a session.flush() on my mysql database. When i try everything looks like it works just fine but the acutal data is not propagated to the db. Oddly it does appear to go into the first lev cache of some sort (or dirty read? )
Cause i can retrieve the data using load() no problem.

However If i wrap my simple save() in a transaction it works just fine!! it save and is viewable within the db.

In all my searchs all i see is people responding.. well use the txn api when using innodb tables.

my question is can we not mix simple actions and transactions when using innodb ?


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.