> Can anyone even get the following mapping.xml to be recognized as a valid
> class by Castor 0.9.3?
>
> <mapping>
>   <class name="com.quigley.dashboard.Account" identity="id"
> key-generator="IDENTITY">
>     <map-to table="ACCOUNT" />
>     <field name="id" type="string">
>       <sql name="ID" type="char" />
>     </field>
>   </class>
> </mapping>
>
> Is everyone on this list on vacation? Hasn't anyone run across any
> mapping.xml problems like this in their Castor work? Everything is working
> great for me, until I add a "key-generator" attribute to the <class>
> element of my mapping.xml. Once I add the attribute, something gets messed
> up and Castor no longer thinks it has a mapping for my class!


Well I use key-generator="MAX" and I've got no problem. Not sure about 
"IDENTITY" though.


-- 
Victor Hadianto
---------------
"It is the creationists who blasphemously are claiming that God is cheating 
us in a stupid way." -- J. W. Nienhuys

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to