Hello Andre,
what database and driver are you using. I think Werner got a similar exception with the new mysql 5.0 database that didn't occure with previous versions.
I've still no idea what may cause the problem as we commonly use the same mapping in castor tests. Can you please create an issue in jira and attach a test case to reproduce the problem. Please ahve a look at http://castor.codehaus.org/how-to-submit-a-bug.html on how to submit a bug.
Ralf
Andre Teubner schrieb:
Hello Joachim,
thanks for your answer. I tried to change mapping in this manner:
[CareGiver mapping, complete inheritancetree changed] <field name="id" type="java.lang.Integer"> <sql name="ID" type="integer"/> <--- defining SQLType <bind-xml name="id" node="element"/> </field>
ClassCastException occurs as before. At this time, i believe this is a bug and no error in my own layer 8.
I cant figure out why castor fail at this object.
Andre Teubner

