Hi,
It seem that the <index> tag of a collection requires a numeric field. It accepts the "type" attribute but seems to ignore it.
This is valid according to the DTD:
Code:
<list name="RelArticle">
<key column="AuthorID"/>
<index column="Name" type="string"/>
<one-to-many class="Article"/>
</list>
But it casts the the followinf exception:
Code:
Caused by: java.sql.SQLException: Invalid value for getInt() - 'Almennt um eplica' at com.mysql.jdbc.ResultSet.getInt(ResultSet.java:1276)
Am I doing something wrong here or is this a known issue.
Regards,
-Stefan