> So truncating a value to scale = 0 is actually appropriate if the scale is
> not mapped. Of course something like 'setBigDecimal' would probably preserve
> it, so maybe we still need a special ExtendedType to call this method.
I guess the problem I see is that I test only against one or two databases
so I'd rather see the *same* behaviour across databases regardless of what
JDBC is defined to do... We flipped scale="2" for all our NUMERIC types
since that is what our application assumes.
-- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash programmer
This archive was generated by hypermail 2.0.0 : Sat Aug 09 2008 - 04:19:31 EDT