Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » (no subject) duplicate, please ignore topic
(no subject) duplicate, please ignore topic [message #708416] Tue, 02 August 2011 15:40 Go to next message
Rolf Paulsen is currently offline Rolf Paulsen
Messages: 14
Registered: June 2010
Junior Member
No Message Body

[Updated on: Tue, 02 August 2011 18:44]

Report message to a moderator

(no subject) [message #709203 is a reply to message #708416] Wed, 03 August 2011 11:49 Go to previous message
Chris Delahunt is currently offline Chris Delahunt
Messages: 1017
Registered: July 2009
Senior Member
Hello Rolf,

I'm not sure I understand. The scale and precision are optional and are only used for DDL generation, and appear to be working on both database platforms. The difference you see seems due to what the driver returns for the value of 12.00 from the database. If there is configuration that can be done, it is at the driver level but at the JPA level only the bigdecimal value is persisted, not its scale. Are you losing precision and it being rounded to 12?

Regards,
Chris
Previous Topic:(no subject)
Next Topic:Merge does an undesirable persist
Goto Forum:
  


Current Time: Thu Aug 28 21:26:36 EDT 2014

Powered by FUDForum. Page generated in 0.02460 seconds