Joined: Fri Nov 17, 2006 3:44 am Posts: 12 Location: India
|
Dudes...
When iam trying to insert some date to the oracle 9i iam facing exception !!!
INFO: Translating SQLException with SQLState '72000' and errorCode '1002' and message [ORA-01002: fetch out of sequence
]; SQL was [null] for task [HibernateAccessor]
Sep 5, 2008 3:25:38 PM com.opensymphony.webwork.dispatcher.DispatcherUtils serviceAction
SEVERE: Could not execute action
org.springframework.jdbc.UncategorizedSQLException: (HibernateAccessor): encountered SQLException [ORA-01002: fetch out of sequence
]; nested exception is java.sql.SQLException: ORA-01002: fetch out of sequence
java.sql.SQLException: ORA-01002: fetch out of sequence
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:1198)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2400)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2672)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:527)
at net.sf.hibernate.id.TableGenerator.generate(TableGenerator.java:93)
at net.sf.hibernate.id.TableHiLoGenerator.generate(TableHiLoGenerator.java:59)
My oracle jdbc driver is -ojdbc14_g.jar
Oracle version is :-oracle 9i
Hibernate version is :-2.0
Spring with webwork framework iam using for my application...
Can anybody help me out .........:)
Cheers !!!
Dijo
|
|