-->
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: Persisting something like org.apache.commons.collections.Bag
PostPosted: Tue Jul 04, 2006 9:53 am 
Beginner
Beginner

Joined: Wed Mar 22, 2006 4:33 am
Posts: 20
Location: Berlin, Germany
Hi,

I want to persist a Commons Collections Bag which is basically a wrapper around a Map<Object,Integer> where each Object is stored with it's number of copies.
I've got several entities which make use of such bags and it would be inconvenient if I had to create a bag entity for each of these entities which itself maps to a Map again.
I hope I made myself clear as to what I mean. Has anyone an idea how to solve this elegant?

Uli


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.