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: Workaround for collections of collections?
PostPosted: Wed Feb 25, 2004 11:53 am 
Newbie

Joined: Tue Feb 24, 2004 6:07 pm
Posts: 4
Hiya.

I understand from the docs that collections of collections aren't supported in Hibernate. Is there a common design pattern that Hibernate users employ for working around this?

Specifically, I'm in need of persisting a Map where the keys are strings but the values are Maps. (An even better world would have me persisting a Map with string keys but values that could be Maps or strings, but I'm not holding my breath.) Any thoughts?

Thanks!
- Ert Dredge


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 25, 2004 2:27 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
There is no way to work around but to use proper classes inside your collections.


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.