I have a column in my Oracle10g db that is NUMBER(6,2)
Can't seem to map it to anything.
Here's the column definition
Code:
MULTIPLIER NUMBER(6,2)
Here's the annotation on the entity class
Code:
@Column(precision=6,scale=2,columnDefinition="NUMBER(6,2)")
public Double getMultiplier() {
return multiplier;
}
Here's what the Hibernate validator says
Code:
org.hibernate.HibernateException: Wrong column type: multiplier, expected: NUMBER(6,2)
?!
Also tried mapping to Float.
What gives? How do I map a NUMBER(6,2) column?
Hibernate 3.2.4.sp1
Hibernate Annotations 3.3.1.Beta1
Oracle10gDialect