when i save the object and see in the oracle 9i database the id column has these values.. ( 9.900E+123 , -0.370E-28 ) . I am using a oracle sequence (1- 999999999...), and the current sequence value in the database in 345. Hibernate mapping for id column is as given below..
at line 1 i checked that id is null and then i put a break point at line 4 and checked the id value after save. It is same value from the query " select USER_SESSIONS_SEQ.nextval from dual; " but after committing when i check in the database the id value is different.
This is information u asked jdbc driver racle JDBC Driver version - 126.96.36.199.0 oracle version : Oracle9i Enterprise Edition Release 188.8.131.52.1 - Production With the Partitioning option JServer Release 184.108.40.206.1 - Production