Hello,
When I was
testing my database connection (Oracle Database 10g (10.2.0.4)) I received the following error:
From Models
java.lang.ClassCastException: org.hibernate.type.BigDecimalType
I have the correct driver. The table has an ID column and its type is “NUMERIC” which maps to a big_decimal (hbm.xml) then to the POJO (java.math.BigDecimal). Everything looks fine. I even tried changing the column type to “LONG” and I still receive the ‘noted above’ error message.
Additionally, I’m able to successfully query other tables that do not contain a column type of “NUMERIC”.
I’m really stumped; any insight you can provide would be greatly appreciated.
javascript:emoticon('
');
Thanks,
Eric