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
|
|