I get this error with the following xml:
<primitive-array name="props">
<list-index column="sortIndex"/>
</primitive-array>
org.hibernate.MappingException: invalid mapping
The content of element type "primitive-array" must match "(meta*,subselect?,cache?,synchronize*,comment?,key,(index|list-index),element,loader?,sql-insert?,sql-update?,sql-delete?,sql-delete-all?)".
** props is the name of my property defined as: double[] props - in my class
** I picked an arbitray name for the index column. I'm not sure how to get the index column of the property table.
Can someone tell me what I should be doing to map this class property array?
|