Hello,
I want to map a field of type Double with Hibernate and a Oracle 10g DB. In Oracle, the field is defined as NUMBER(11,2).
I have tried different hibernate configs for the mapping and each time, a Wrong column type error is raised.
@Column(name="available_balance") private Double availableBalance; ->org.hibernate.HibernateException: Wrong column type: available_balance, expected: double precision
@Column(name="available_balance",precision=11, scale=2,columnDefinition="NUMBER(11,2)") private Double availableBalance; ->org.hibernate.HibernateException: Wrong column type: available_balance, expected: NUMBER(11,2)
Could somebody help me?
Thx in advance
|