I am new to Castor, having just downloaded 9.3. I am getting the following
error:
org.exolab.castor.jdo.DatabaseNotFoundException: Nested error:
java.lang.ClassCastException:
org.exolab.castor.mapping.loader.FieldDescriptorImpl
On this identity field:
<class name="CatField"
identity="label_id"
key-generator="HIGH/LOW" >
<map-to table="cat_field" xml="field"/>
<!-- this is the offending field -->
<field name="label_id"
type="big-decimal">
<sql name="label_id" type="numeric" />
</field>
...
label_id is defined as a "BigDecimal" in CatField. I have tried
"integer/int" and "integer/Integer" combinations, too. I am confused. The
documentation does not show "int" as one of the Java types that fields map
to, but the examples all use "int". The Oracle type is "number", so I assume
I use "numeric" as the sql type, though I have tried "integer" and
"decimal". Any help would be appreciated.
-Al Byers
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev