> I found that care needs to be taken when using Floats, Doubles, BigDecimal,
> etc... OpenJPA seemed to work in most cases when I was using existing table
> definitions but I can't say that OpenJPA always generated the proper tables
> when using synchronize mappings.
Actually there's http://issu
alue high qty items.
>
> Chris
>
>
> -Original Message-
> From: Daryl Stultz [mailto:da...@6degrees.com]
> Sent: Friday, 8 January 2010 12:30 AM
> To: users@openjpa.apache.org
> Subject: Re: Known issues - Floats and doubles may lose precision when
> stored.
>
> On Thu,
ax on low value high qty items.
Chris
-Original Message-
From: Daryl Stultz [mailto:da...@6degrees.com]
Sent: Friday, 8 January 2010 12:30 AM
To: users@openjpa.apache.org
Subject: Re: Known issues - Floats and doubles may lose precision when
stored.
On Thu, Jan 7, 2010 at 6:24 AM
On Thu, Jan 7, 2010 at 6:24 AM, C N Davies wrote:
> I'm no expert on this but I find OpenJPA 1.2.1 works just fine on
> ProgresSQL
> when I use specific notation
>
>@Column(columnDefinition="DOUBLE UNSIGNED",precision=10,scale=6,
> nullable=false)
>private double rate = 0.00;
>
>
Hi Chris,
Thank you for the good advice!!
I will certainly do as you suggested.
Regards
Riaan
--
View this message in context:
http://n2.nabble.com/Known-issues-Floats-and-doubles-may-lose-precision-when-stored-tp4265454p4266421.html
Sent from the OpenJPA Users mailing list archive at
27;s a mess, same issue I find on MySQL
5.x and OpenJPA 1.2.1
My 2c!
Chris
-Original Message-
From: Riaan [mailto:riaan.potgie...@corefreight.com]
Sent: Thursday, 7 January 2010 7:41 PM
To: users@openjpa.apache.org
Subject: Known issues - Floats and doubles may lose precision when s
abase: Postgresql 8.3
OS: Ubuntu 9.04
Java: JDK 1.6
IDE: Netbeans 6.8
App Server: OpenEJB 3.1.2
Regards
Riaan
South Africa
--
View this message in context:
http://n2.nabble.com/Known-issues-Floats-and-doubles-may-lose-precision-when-stored-tp4265454p4265454.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.