So should I fix this and post a patch?  Also, looks like a cast to a double
and not a long, and I don't think BigDecimal is castable to Double.  My
intent was to go into the entity engine code and check for BigDecimal return
type and automatically convert it to a Double if that was what is required
by the db.

Also, note that this was a warning, not an error.

-----Original Message-----
From: BJ Freeman [mailto:[EMAIL PROTECTED]
Sent: Monday, October 08, 2007 9:05 PM
To: [email protected]
Subject: Re: Odd Error


got this on compile from recent 4.0 release
I just added a (long) cast and it fixed it.
have not gone back into to the commit logs to find out why.

[EMAIL PROTECTED] sent the following on 10/8/2007 9:00 PM:
> I am getting lots of warnings like this:
>
> 2007-10-08 20:52:03,096 (AWT-EventQueue-0) [
> GenericEntity.java:389:WARN ] In entity field
> [GlAccountHistory.postedDebits] set the value passed in
> [java.math.BigDecimal] is not compatible with the Java type of the field
> [Double]
>
> I am pretty sure I can fix this, but do I need to?
>
> Skip
>
>
>
>

Reply via email to