We are using H2 as our database for testing and ran into an odd issue when 
we switched to an Oracle database (the target for production). Many of our 
tests that looked for a value with a specific scale (for example 0.00) in a 
BigDecimal were failing because Oracle returns a 0 with a scale of 2 as 0 
not 0.00. We tried switching it to MODE=ORACLE, but we get the same issue.

Personally I think H2's behavior makes more sense, but I wondered if there 
was a way to get it to mimic Oracle in this situation just so we get the 
same results from H2 and Oracle.

If this is something that is out of scope for H2, I undersand. I just 
wanted to make sure I wasn't missing something obvious.

Thanks!

Mark

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/h2-database/-/xdyLKzmQmUQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to