[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to map a java double type in hibernate to oracle NUM

2007-11-08 Thread DeanoUK
Any solution to this? I see plenty of hibernate JIRA issues etc, but no solution. Turning off schema validation will work, but we'd much prefer it on. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102856#4102856 Reply to the post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to map a java double type in hibernate to oracle NUM

2007-04-05 Thread rabbiaqaswar
have you tried BigInteger? i just checked the hibernate reference documentation version: 3.2 cr1 and it mentions: big_decimal, big_integer: Type mappings from java.math.BigDecimal and java.math.BigInteger to NUMERIC (or Oracle NUMBER). View the original post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to map a java double type in hibernate to oracle NUM

2007-04-04 Thread rabbiaqaswar
you can also map oracle Number to BigDecimal. i have some Number with precision points and am mapping them to BigDecimal in my POJOs. they work fine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4034508#4034508 Reply to the post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to map a java double type in hibernate to oracle NUM

2007-04-04 Thread yangju
The problem I am facing is hibernate validator. If I turn off validator, there is no problem for the mapping at run time. I tried big_decimal. It could not pass the hibernate validator. Looks like the jdbc driver returns decimal type but the hibernate expected numeric. They are really the same

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to map a java double type in hibernate to oracle NUM

2007-04-03 Thread rabbiaqaswar
have you tried using Long in your code to map it to a Oracle Number data type? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4034060#4034060 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4034060

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to map a java double type in hibernate to oracle NUM

2007-04-03 Thread yangju
We need either BigDecimal or double (not integer). Long does not make sense to us. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4034095#4034095 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4034095