John,

Can you please create a new Jira issue and attach a complete Junit test
case, if possible. Now, if that test case followed the bug submission
guidelines, it would be even better .. ;-).

Werner 

wg> -----Original Message-----
wg> From: John Greene [mailto:[EMAIL PROTECTED] 
wg> Sent: Tuesday, February 14, 2006 3:26 PM
wg> To: Werner Guttmann
wg> Subject: RE: [castor-user] BIGINT Support in Castor
wg> 
wg> Werner,
wg> 
wg> I had already referred to the link
wg> http://castor.org/types.html#SQL-Type-Conversion.
wg> 
wg> 
wg> Please find mapping file below:
wg> 
wg> 
wg> <class name="Payments.Student" identity="id" key-generator="MAX">
wg> 
wg> <map-to table="Student" />
wg>   <field name="id" type="int">
wg>     <sql name="id" type="integer"/>
wg>   </field>
wg> 
wg>   <field name="name" type="string">
wg>     <sql name="name" type="varchar" />
wg>   </field>
wg> 
wg>   <field name="payment" type="Payments.Payment" 
wg> collection="collection">
wg>     <sql many-key="id_student" />
wg>   </field>
wg> 
wg>   <field name="Group" type="Payments.Group" required="true">
wg>     <sql name="id_group"/>
wg>   </field>
wg> 
wg>   <field name="timestamp" type="long">
wg>     <sql name="timestamp" type="bigint"/>
wg>   </field>
wg> 
wg> </class>
wg> 
wg> -----Original Message-----
wg> From: Werner Guttmann [mailto:[EMAIL PROTECTED]
wg> Sent: Tuesday, February 14, 2006 09:03 AM
wg> To: [email protected]; [EMAIL PROTECTED]
wg> Subject: RE: [castor-user] BIGINT Support in Castor
wg> 
wg> 
wg> John,
wg> 
wg> It should as explained at
wg> http://castor.org/types.html#SQL-Type-Conversion. Having 
wg> said that, can you please show us (by the means of a field 
wg> mapping) what you are trying to achieve ?
wg> 
wg> Werner
wg> 
wg> wg> -----Original Message-----
wg> wg> From: John Greene [mailto:[EMAIL PROTECTED]
wg> wg> Sent: Tuesday, February 14, 2006 2:52 PM
wg> wg> To: Castor User
wg> wg> Subject: [castor-user] BIGINT Support in Castor
wg> wg>
wg> wg> Hi Werner,
wg> wg>
wg> wg> Quick question, does Castor support the sql type "BIGINT "?
wg> wg>
wg> wg> My Derby database uses type "BIGINT" intead of "long"
wg> wg>
wg> wg> Reported Run-time error:
wg> wg>         org.exolab.castor.mapping.MappingException: 
wg> Nested error:
wg> wg> org.exolab.castor.mapping.MappingException:
wg> wg>         The SQL type BIGINT is not supported in this release
wg> wg>
wg> wg>
wg> wg>
wg> wg> -------------------------------------------------
wg> wg> If you wish to unsubscribe from this list, please send an empty 
wg> wg> message to the following address:
wg> wg>
wg> wg> [EMAIL PROTECTED]
wg> wg> -------------------------------------------------
wg> wg>
wg> wg>
wg> 
wg> 
wg> 

-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to