-->
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.  [ 4 posts ] 
Author Message
 Post subject: how to persist a MultiHashMap
PostPosted: Sun Sep 26, 2004 9:24 am 
Newbie

Joined: Sun Sep 26, 2004 9:12 am
Posts: 1
Hi,


I am using the Commons Collections interface MultiMap and its implementation MultiHashMap and I would like to persist instances of it with Hibernate.
MultiHashMap basically extends HashMap and for each key stores a Collection. I have read that Hibernate is not able to store this kind of Map.
Does anybody know a work around or have any tips to solve my problem.

Thanks
Fede


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 19, 2004 4:08 am 
Beginner
Beginner

Joined: Mon Mar 22, 2004 10:01 am
Posts: 22
I would like to do the same, but unfortunately I can't find anything about it in hibernate3 either.

I will solve my problem in my own metadata layer, with a custom property that will execute a query.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 19, 2004 5:56 am 
Regular
Regular

Joined: Thu Aug 28, 2003 10:54 am
Posts: 67
Sounds like you might have to look into the CollectionPersister interface.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 16, 2007 4:25 pm 
Newbie

Joined: Tue Aug 14, 2007 3:16 pm
Posts: 4
any solution as of date for this problem. Would like to know


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.