-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: mapping property with "double" type to Oracle
PostPosted: Wed Aug 25, 2004 5:39 pm 
Newbie

Joined: Wed Aug 25, 2004 4:36 pm
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.