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: Not Persist Collection?
PostPosted: Wed May 27, 2009 12:57 pm 
Newbie

Joined: Wed May 27, 2009 12:50 pm
Posts: 1
i am new to hibernate, maybe this question is just silly. But please help.

I have a collection in hibernate mapping file, can i just choose to use it when query the database, but not update the database? i.e. make this collection not persist to the database? I know if that is a property i can use update=false insert=false, but how can I do with a collection/set/many-to-many mapping?


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.