I need some help. I have a DB2 column type of decimal (17,4) which I need to map, but everything I've tried is not working. I'm using Spring 2.0.8 with Hibernate3. I've tried multiple configurations and for the most part I keep getting the same error. The variable I'm mapping to is a BigDecimal.
Can someone please let me know what the mapping line should look like?
I'm trying to deploy to Weblogic 8.1.6 and the error I get is "Could not determine type for: decimal". My current mapping line for this field looks like:
Code:
<property name="unitPrice" scale="4" column="Z_DD_COST_EACH" unique="false" precision="17" not-null="true" type="decimal"/>
The ddl for the database line is:
Code:
Z_DD_COST_EACH DECIMAL(17, 4) NOT NULL,