-->
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: Hiding a property in XML import/export
PostPosted: Thu Mar 31, 2005 7:56 am 
Newbie

Joined: Thu Mar 31, 2005 6:00 am
Posts: 1
Hibernate 3.0rc1

Hi,

I want to use the simulataneous mapping feature of Hibernate 3 for POJO and XML in a single mapping file.

In a single mapping file I have about 20 properties. All the properties are required for POJO but I don't want a couple of properties to be exported/imported through XML.

Is there way a disabling a property from being mapped to a node for XML import/export? If that is possible then I don't have to create a separate mapping file for XML with 18 properties (minus the couple that I don't want to export/import in XML).

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 05, 2005 12:00 pm 
Newbie

Joined: Fri Feb 20, 2004 6:26 am
Posts: 12
I'd be interested in a solution, too. Populating my primary keys in my usage scenario is the least I wanna do.

-tom


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.