Hi,
I am getting a java.sql.SQLException: ORA-01002: fetch out of sequence in weblogic when I am trying to access the database.
Can anyone help me.
Thanks,
Surendra
Discussions
Web tier: servlets, JSP, Web frameworks: java.sql.SQLException: ORA-01002: fetch out of sequence
-
java.sql.SQLException: ORA-01002: fetch out of sequence (1 messages)
- Posted by: Surendra Duggirala
- Posted on: January 03 2006 10:50 EST
Threaded Messages (1)
- autocommit by Laurent Caron on January 20 2006 06:26 EST
-
autocommit[ Go to top ]
- Posted by: Laurent Caron
- Posted on: January 20 2006 06:26 EST
- in response to Surendra Duggirala
Hi surendra,
Well I had this problem and here is what I did :
In my code my SQL request what a "select for update" statement, because I had to update a row which contained a BLOB.
By default, the flag "autocommit" is set to true in a JBDC Connection. I switch this flag to false and the error vanished.
Regards
Laurent