-->
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: Hide a property with Hibernate Annotation
PostPosted: Sat Nov 15, 2008 1:00 pm 
Newbie

Joined: Sat Nov 15, 2008 12:54 pm
Posts: 1
Hi,

how can i hide a property with Hibernate Annotation.
I have a not primity property and this property is computed by my App, so how can i remove it from the table in my database, because hibernate autogenerate a column for every attribute.

thx 4 help


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 15, 2008 6:18 pm 
Expert
Expert

Joined: Wed Mar 03, 2004 6:35 am
Posts: 1240
Location: Lund, Sweden
Mark it as 'transient' as described here: http://www.hibernate.org/hib_docs/annot ... g-property


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.