-->
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: How to save a collection of integers?
PostPosted: Tue May 22, 2007 2:21 pm 
Newbie

Joined: Mon Mar 26, 2007 10:36 am
Posts: 3
Hello,

I have not been able to find an example that saves a collection of intergers. I have an object that contains a java.util.Set<Integer>

I'm able to save/ retrive this object and its properties (name, date, count) However, when I have not been able to create the correct mapping to have hibernate save this object when adding the new java.util.Set<Integer> property to it. Please help. Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 22, 2007 2:27 pm 
Newbie

Joined: Tue Feb 21, 2006 12:22 pm
Posts: 16
Add @CollectionOfElements.


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.