is it possible to map a Map containing lists? The class would look like this:
public class Test { priavte String oid; // also getter and setter for everything Map attribute = new HashMap(); public addValue(String key, String value){ List list = new ArrayList(); list.add(value); attribute.put(key, list); } }
I'm not sure if this is supported. My mapping part looks like this:
<map name="attribute" table="values"> <key column="oid"/> <index column="attribute" type="string"/> .... </map>
But know I don't know how to put the list in there. Does anybody has an idea?
Thanks, Oliver
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel