On Tue, 2003-11-18 at 11:00, Jose Gonzalez Gomez wrote: > Solved... the documentation states that you must use the tag > @hibernate.composite-element. Instead of this you must use > @hibernate.collection-composite-element.
Known issue - XDT-560 http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-560 Hey, Gavin, which way round do you want this fixed? Change the docs to match the template or vice versa? Andrew. > > Regards > Jose > > Jose Gonzalez Gomez wrote: > > > > > Hi there, > > > > I'm trying to generate a mapping where I have a map with composite > > elements with no success. I have the following: > > > > * @hibernate.map table = "localizedCategory" cascade = "all" > > * @hibernate.collection-key column = "category" type = "string" > > length = "32" > > * @hibernate.collection-index column = "locale" type = "locale" > > length = "10" > > * @hibernate.composite-element class = > > "com.foo.news.domain.LocalizedCategory" > > > > And then, in the referenced class, I have no class tag but I have > > @hibernate.property tags in every property to be persisted. In the > > generated mapping file I get the corresponding map with key and index > > but with no composite-element tag. Is this correct? Am I missing > > anything? > > > > Regards > > Jose ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
