Hibernate version: 3.1.0 beta 4
Name and version of the database you are using: Microsoft SQL Server 2000
I have the following entry in my reverse engineering file:
Code:
<type-mapping>
<sql-type jdbc-type="NUMERIC" precision="15" hibernate-type="java.math.BigDecimal" />
<sql-type jdbc-type="VARCHAR" hibernate-type="string" />
<sql-type jdbc-type="FLOAT" hibernate-type="java.lang.Float" />
<sql-type jdbc-type="INTEGER" hibernate-type="java.lang.Integer" />
<sql-type jdbc-type="DECIMAL" hibernate-type="java.math.BigDecimal" />
</type-mapping>
<table-filter match-catalog="DEV_CSEM_ZAK_SQL" match-schema="DEV_CSEM_ZAK_SQL" match-name="PT_USER" />
<table catalog="DEV_CSEM_ZAK_SQL" schema="DEV_CSEM_ZAK_SQL" name="PT_USER">
<primary-key>
<column name="USER_ID" jdbc-type="VARCHAR" property="uniqueId" type="com.perse.onecall.model.key.StringId" />
</primary-key>
</table>
In version 3.0, this worked just fine. I recently upgraded to 3.1 beta 4 to fix another problem and this no longer works. When this mapping is generated, all columns in the table are added to the composite key class. Has something changed that requires me to update my file? If so, I would appreciate any hints.
Thanks,
Brock