Re: [castor-dev] ObjectModifiedException using double in MySql with out size.

2004-04-19 Thread Werner Guttmann
e time I will send it. > >Thanks a lot and best regards, >Gonzalo Abollado. > > >-Original Message- >From: Werner Guttmann [mailto:[EMAIL PROTECTED] >Sent: jueves, 15 de abril de 2004 11:43 >To: [EMAIL PROTECTED] >Subject: Re: [castor-dev] ObjectModifiedExc

Re: [castor-dev] ObjectModifiedException using double in MySql with out size.

2004-04-15 Thread Gonzalo Abollado
] Subject: Re: [castor-dev] ObjectModifiedException using double in MySql with out size. Gonzalo, I have recreated your environment as similar as possible, but whatever I am doing, I am failing to see an exception. I've taken all your files (almost unchanged), and converted the main test class i

Re: [castor-dev] ObjectModifiedException using double in MySql with out size.

2004-04-15 Thread Werner Guttmann
ot;A1", >"12445755.34"); >INSERT INTO facturas VALUES("484", "5", "ASD3", "", "", "", >"666.24"); >INSERT INTO facturas VALUES("28", "5", "EDFR", "", "",

Re: [castor-dev] ObjectModifiedException using double in MySql with out size.

2004-04-13 Thread Gonzalo Abollado
zalo, can you please send me the SQL schema you use to generate the table for Factura, and - if possible - some SQL to populate the table so that below test works. Werner On Tue, 13 Apr 2004 11:23:46 +0200, Gonzalo Abollado wrote: > >Sorry, I forgot to send you the mapping file > > >key-generator="IDENTITY"> > > > > > > > > > > > > >

Re: [castor-dev] ObjectModifiedException using double in MySql with out size.

2004-04-13 Thread Werner Guttmann
rator="IDENTITY"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > >-Original Message- >From: Werner Guttmann [mailto:[EMAIL PROTECTED] >Sent: lunes, 12 de abril de 2004 20:30 >To: [EMAIL PROTECTED] >Subject: Re: [castor-dev] ObjectM

Re: [castor-dev] ObjectModifiedException using double in MySql with out size.

2004-04-13 Thread Gonzalo Abollado
etToUpdate(); factura.update(); } catch (PersistenceException e) { e.printStackTrace(); } } } ----------------- -Original Message- From: Werner Guttmann [mailto:[EMAIL PROTECTED

Re: [castor-dev] ObjectModifiedException using double in MySql with out size.

2004-04-13 Thread Gonzalo Abollado
-Original Message- From: Werner Guttmann [mailto:[EMAIL PROTECTED] Sent: lunes, 12 de abril de 2004 20:30 To: [EMAIL PROTECTED] Subject: Re: [castor-dev] ObjectModifiedException using double in MySql with out size. Gonzalo, can you please post a code fragment, a mapping file, et alias so that

Re: [castor-dev] ObjectModifiedException using double in MySql with out size.

2004-04-12 Thread Werner Guttmann
Gonzalo, can you please post a code fragment, a mapping file, et alias so that I can simulate your findings ? Parta from this, what version of mySQL are you using, and what's the release number of the JDBC driver for mySQL ? Regards Werner On Mon, 12 Apr 2004 17:15:51 +0200, Gonzalo Abollado

[castor-dev] ObjectModifiedException using double in MySql with out size.

2004-04-12 Thread Gonzalo Abollado
Hello, I´m run into another ObjectModifiedException problem. In this case I was using a double field in MySQL with out specifying the size of the field. In some situations, I can´t really tell when, but maybe it has to do with values like: 123123,93 maybe a rounding problem, I´m not sure... The