A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
Object Relational Mapping
Hibernate is saving the id as -E.000E-78
Vishwas T Prasanna
Joined: Jan 18, 2006
Jan 25, 2006 07:04:00
I am using oracle sequence for generating for values for the id property and my mapping is as given below..
<id name="id" column="id" type="integer" unsaved-value="null">
but when when i save the object, hibernate is saving -E.000E-78 this kind of values into the table..
Plz Plz can any body help me...
I agree. Here's the link:
subject: Hibernate is saving the id as -E.000E-78
why my oracle sequence id increases by 2 when I use hibernate to insert
junk values for the id property
PropertyAccessException: IllegalArgumentException occurred calling getter
hibernate primary key mapping - sequence
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014