October 25, 2003

2.0 Release Notes

The README file in the 2.0 beta now includes a change log so please check read this when you download new builds.

In the latest build ...

[b483] Changed some default Java type mappings on importing a schema. JDBC types BIGINT, NUMERIC, DECIMAL with scale of zero (i.e. no decimal places) now only get mapped to int or long (or their object equivalents). JDBC types BIGINT, NUMERIC with a non-zero scale (i.e. does have decimal places) now always get mapped to the java.math.BigDecimal type.

[b483] When generating CMP finders for columns that are of type java.math.BigDecimal the EJB-QL finder definitions use the float primitive type since EJB-QL does not support java.math.BigDecimal. The generated DAO implementation code takes care of conversion from BigDecimal to float when the finders are called so this change is transparent to the user.

Posted by Andy Grove at October 25, 2003 02:27 PM