-->
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.  [ 3 posts ] 
Author Message
 Post subject: Hibernate - nested collections
PostPosted: Wed May 09, 2007 9:22 am 
Newbie

Joined: Wed May 09, 2007 4:08 am
Posts: 2
Hallo!

Ich arbeite zurzeit an einem automatischen Code-Generator, der auf Basis von XML-Dateien eine POJO- und DAO-Schicht erstellt und Hibernate als Persistenz-Framework benutzt. Das klappt bisher auch ganz gut, jedoch bin ich auf ein Problem in Bezug mit Hibernate (Mappings) gestoßen:

In der XML-Datei sind verschachtelte Collections wie List<String, Map<String, List<String>>> definiert. Ich kenne die Tags für <list ..> und <map ...> etc. in Hibernate, als auch die Definition <nested-composite-element>, aber ich weiß keine Lösung, wie ich eine "nested collection" in die Mapping-Datei von Hibernate einfüge. Hat jemand von euch eine Lösung?


Top
 Profile  
 
 Post subject: We have the same issue....
PostPosted: Thu Aug 09, 2007 9:48 am 
Beginner
Beginner

Joined: Fri Sep 08, 2006 2:55 am
Posts: 21
Yeah we've had to do some pretty odd things in our domain model to work around the lack of a capability to deal with a bag containing a map or even a map containing a map:

http://forum.hibernate.org/viewtopic.ph ... highlight=

I've also JIRA'd it:

http://jira.nhibernate.org/browse/NH-1065


Top
 Profile  
 
 Post subject: Re: We have the same issue....
PostPosted: Fri Oct 19, 2007 3:55 am 
Newbie

Joined: Wed May 02, 2007 12:56 pm
Posts: 17
May you help me?


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