-->
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: XML Marshalling question--hibernate 3.0
PostPosted: Fri Jan 05, 2007 5:26 pm 
Newbie

Joined: Fri Jan 05, 2007 5:14 pm
Posts: 1
Location: Boston
I have some complex objects where some attributes are persisted and defined in a hibernate mapping file, while others are not persisted and are derived via getter methods. I'd like to use Hibernate 3.0's XML marshalling feature, but this has the obvious problem that I don't have a way to specify a node value for the derived attribute. Anyone have any suggestions how to work around this other than persisting everything? Is there a way for me to add the derived objects to the mapping file so that hibernate doesn't try to persist these objects but can use the node values?

thanks in advance,
dez


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.