-->
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: Modify object does not update table after commit
PostPosted: Fri Feb 16, 2007 5:40 am 
Newbie

Joined: Fri Feb 16, 2007 12:05 am
Posts: 2
When I update a property of my domain class, it does not update the respective database table after committing the transaction. No SQL Update command get executed, even invoking Session.flush() manually. Session.isDirty() returns false. However, the property of object in the persistent context is changed.

This occurs when I implements the long-conversation approach using ThreadLocal pattern. If (for testing-sake) I use the same Session instance in all threads (i.e. singleton session), this problem will not occur.

I would be really appreciate if anyone could provided me some suggestion on the possible causes of this kind of problem, so that I could try to pinpoint and investigate into the right directions. I'm kind of don't know where to go right now.

Hibernate version: 3.2GA

Name and version of the database you are using:
HSQLDB 1.8 Server/Standalone


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.