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: 1275
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:JPA BigDecimal scale difference between Oracle and DB2
Next Topic:Accessing outer query in Eclipselink subquery
Goto Forum:

Current Time: Mon Dec 18 18:44:22 GMT 2017

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

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