Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How to programmatically flip a property to persistent?
PostPosted: Thu May 10, 2012 7:51 pm 
Beginner
Beginner

Joined: Wed Jan 21, 2009 8:41 pm
Posts: 45
Depending on where my application is running I want to persist an attribute or for it to be transient.

How can I programmatically flip an attribute of an entity between persistent and transient?


Top
 Profile  
 
 Post subject: Re: How to programmatically flip a property to persistent?
PostPosted: Fri May 11, 2012 2:04 am 
Expert
Expert

Joined: Tue Jun 16, 2009 3:36 am
Posts: 988
As far as I'm informed,
that's only possible for the whole entity, not for single attributes.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 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.