-->
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.  [ 3 posts ] 
Author Message
 Post subject: oracle wont float but will double
PostPosted: Mon Oct 27, 2003 1:33 pm 
Newbie

Joined: Thu Oct 16, 2003 4:55 am
Posts: 9
Location: Berlin, Germany
has anyone experienced, that the float mapping using oracle 9i (9.2.0.1) does NOT work, while double works fine?
whenever we store a float value, it is truncated to an integer value. changing the mapping and the bean to double works like expected. I use the right jdbc driver for our version, like provided by oracle and I use jdk 1.4.2.
anyone an idea?

thanx in advance
:olli


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 12, 2003 1:59 pm 
Newbie

Joined: Wed Nov 12, 2003 1:28 pm
Posts: 1
The same thing happened to me. My evironment:
Oracle 9i (don't know exact version number) with Oracle9i dialect
Oracle thin driver
Oracle9iAS (9.0.3.0.0)
jdk 1.3.1_06 for Windows (2000)
Hibernate version 2.0.3, 27 August 2003

Thanks for your workaround :)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 12, 2003 7:56 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
This issue generally turn out to be a JDBC driver issue. Oracle has been known to have some bute driver bugs from time to time. Try a later (maybe earlier) JDBC driver.


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

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.