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 - 220.127.116.11.0 oracle version : Oracle9i Enterprise Edition Release 18.104.22.168.1 - Production With the Partitioning option JServer Release 22.214.171.124.1 - Production