Hi,
I'm having trouble figuring out how to map a class structure that might be outlined like this:
Code:
<class ...>
<list ..>
...
<composite-element ...>
<property .../>
<list ...>
<element type='string'/>
</list>
</composite-element>
</list>
...
</class>
Now, this is not valid according to the 3.0 DTD. However, replacing the nested <list> element with a <nested-composite-element> demands a class= attribute, while I want a simple list of String.
Am I missing something? What's the best way to map this sort of structure?
By the way, I note a near-complete lack of coverage of <nested-composite-element> in the documentation.
Answers will be greatly appreciated and pointers to the pertinent information are welcome.
Thanks.
Randall Schulz
Hibernate version:
3.1 (rc3)
Name and version of the database you are using:
MySQL 5.0