Hi,
Hibernate version:3.1.3
Name and version of the database you are using:Sybase 12.5
I am having a problem storing a BigDecimal value like "56.42342" in a decimal(15,2) field in a Sybase DB. There is an SQL Error "Scale Error during implicit conversion of NUMERIC value to a DECIMAL field".
I tried using precision(15) and scale(2) values. I tried using these values with the "column" Element. I also tried indicating the sql-type as "decimal(15,2)" in the column Element.
However, I am still getting the above error.
Has anyone been able to successfully store BigDecimal values to a decimal field in Sybase?
Thanks,
Spaceman
|