Skip to main content

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 19:40 Go to next message
Rolf Paulsen is currently offline Rolf PaulsenFriend
Messages: 14
Registered: June 2010
Junior Member
No Message Body

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

Report message to a moderator

(no subject) [message #709203 is a reply to message #708416] Wed, 03 August 2011 15:49 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1382
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?

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

Current Time: Mon Apr 12 21:17:35 GMT 2021

Powered by FUDForum. Page generated in 0.01934 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top