I have a database on Oracle 11 XE and all my tables have primary keys that are NUMERIC(22,0)
. I have generated model classes with Hibernate tools
in Eclipse. Unfortunately, all NUMERIC
fields have been implemented as BigDecimal
s. Even fields representing INT
columns are changed too. I tried some reverse engineering, but it seems not to work in my case.
How can I fix it?