-->
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: Discriminator value not updated in pojo after save
PostPosted: Thu Feb 17, 2011 5:51 pm 
Newbie

Joined: Thu Feb 17, 2011 9:09 am
Posts: 1
Hi,

I upgraded my project from Hibernate 3.1 to 3.3.2 ga final. After this when I save a pojo object. The primary key value gets updated. However the discriminator value was not updated. It still remained as null. This was not the case with Hibernate 3.1. When I give session.refresh(obj), the discriminator value gets updated. I am using table per class inheritance strategy. Hope I have explained my issue with clarity.
Any help in this regard will be highly appreciated.

Thanks
sara


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.