-->
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.  [ 2 posts ] 
Author Message
 Post subject: Loosing non-persistent fields in EntityManager.merge()
PostPosted: Tue Feb 13, 2007 3:18 pm 
Newbie

Joined: Wed Jun 28, 2006 3:32 pm
Posts: 16
Hibernate version: 3.2.0.GA

I have a non-persistent field on a super class of my persistent class. When I call EntityManager.merge() with an object of my persistent class, the field is reset to its default value in the returned object. Is there a way I can tell Hibernate to copy the correct value over? The field is not persistent, but it is also not transient, so I would expect it to keep its data.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 14, 2007 10:51 am 
Newbie

Joined: Wed Jun 28, 2006 3:32 pm
Posts: 16
Since I'm getting no reply here, I will post in the EJB3 forum.


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