-->
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: Customized persistence of collection
PostPosted: Mon Dec 20, 2010 4:39 am 
Newbie

Joined: Fri May 25, 2007 10:38 pm
Posts: 6
Hey,

I'm having a list of machines. Instead of using @OneToMany mapping, I would like to persist all machine IDs in one column separated by semicolons e.g. 1;3;5;55;2;33;

Is this even possible with hibernate or do I have to use @OneToMany mapping? Thanks for your advice.

Kon


Top
 Profile  
 
 Post subject: Re: Customized persistence of collection
PostPosted: Tue Dec 21, 2010 4:10 am 
Newbie

Joined: Fri May 25, 2007 10:38 pm
Posts: 6
I guess, I'm going to implement an additional string field that listens to one change listener of the list.

Thanks.


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.