Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] Bug 292974 - failure in OrderedList tests dueto VARCHAR db field being used in arithmetic operations

Checked in the updated patch:
it uses the shortened version of the method name suggested by Dias: supportsAutoConversionToNumericForArithmeticOperations;
also fixes failures on TimeTen discovered by Praba.

----- Original Message ----- From: "Dies Koper" <diesk@xxxxxxxxxxxxxxxxxxx> To: "Dev mailing list for Eclipse Persistence Services" <eclipselink-dev@xxxxxxxxxxx>
Sent: Friday, October 23, 2009 7:07 PM
Subject: Re: [eclipselink-dev] Bug 292974 - failure in OrderedList tests dueto VARCHAR db field being used in arithmetic operations


Hi Andrei,

Thanks for preparing the patch so soon.

I found the new method name a bit confusing.
 convertsDatabaseFieldToNumericForArithmeticOperations()

My first impression was that I would need to implement something in my platform class to make it convert fields automatically.

How about something like the following? (most other supportsXXX methods are about what the database supports, not the platform class).

 supportsAutoConversionOfDatabaseFieldToNumericForArithmeticOperations()

My 2 cents.
Thanks,
Dies


Andrei Ilitchev wrote:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=292974

The patch is ready, please send any feedback you may have.

Thanks,

Andrei

_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev




Back to the top