Error: Invalid cursor state - no current row.

2007-10-27 Thread Bit Runner...
Hello, i have the database with two tables Opzioni, Preventivi. This is my code; public class DerbySample { public static void main(String args[]) { // esempio collegamento a derby con modifiche try { Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance(); S

Re: Error: Invalid cursor state - no current row.

2007-10-28 Thread Bit Runner...
Exact: I have put setAutoCommit(false) and all it works correctly!!! :- Thanks PS: an other question: but in AutoCommit true the every instruction sql is executed in one isolated transaction. And therefore why it gave error to me? In theory it would have to give it with AutoCommit false.