Nick,
thanks for your reply - I have got the same code working on a different box - same castor (0.9.5.4) same jdk (1.5), the working one is win2k, not working is fedora core 2. I can't figure out what the difference is between the two environments, presumably classpath-related? mapping.xml looks like:
<mapping>
<class name="org.jmaid.testcastor.Media" identity="id">
<map-to table="media" />
<field name="id" type="integer">
<sql name="id" type="integer"/>
</field>
<field name="type" type="string">
<sql name="type" type="char" />
</field>
</class>
</mapping>Unless anyone has any bright ideas I'll keep trying to figure it out.
Nick Stuart wrote:
Jim, can you post your most recent mapping filing and copy and paste the exception in? You should definitely be able to get past this simple test case. Also, not that this matters at the moment, but you should be able to place your mapping and database files right at the root src directory (so in src/) instead of in the packages.
-Nick
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user
