-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate exception
PostPosted: Fri Sep 05, 2008 5:48 am 
Newbie

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.