A desktop app - I'm simply trying to recreate this tutorial - 
http://javaboutique.webdeveloper.com/Map_Java_Objects/

Jim

---------- Original Message ----------------------------------
From: Nick Stuart <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
Date:  Mon, 13 Dec 2004 16:12:54 -0500

>
>Hmmm...well thats odd. Are you using this in a web-app type
>deployment? Or a desktop app? In theory it shouldn't matter. I have
>castor working fine in both areas, but just curious.
>
>
>On Mon, 13 Dec 2004 21:07:07 +0000, jim burton <[EMAIL PROTECTED]> wrote:
>> 
>> 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
>>
>
>
>
>----------------------------------------------------------- 
>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

Reply via email to