I ran Hibernate's SchemaExport to generate the DDL and I found that property with type - "double" is defined as "DOUBLE PRECISION" in generated DDL. I'm wondering if it's normal or the field should be better mapped as NUMBER(x, y) in oracle? Any way for SchemaExport to do "double" to "NUMBER" conversion when using with oracle dialect?
Hibernate version:2.1.2
Mapping documents:<property name="totalPrice" type = "double" column="TOTAL_PRICE"/>
Name and version of the database you are using:Oracle 8.1.6, oracle jdbc driver: ojdbc14-9.2.0.3.jar
|