In case people are wondering. :-D

2011/7/3 Cecil Westerhof <cldwester...@gmail.com>

> I am not sure if it is a SQLite problem, or a Java problem.
>
> While filling a table I get an error "Statement is not executing". It
> happens in the following code:
>                 System.out.printf("%d, %s, %s\n", line, citation, author);
>                 prep.setString(1, citation);
>                 System.out.print("After citation\n");
>
> I see the first output, but not the second. After this there is a -journal
> file. What could be happening here?
>

The problem was a Java problem. I use a preparedStatement and for one reason
or another this went wrong after a little more as 2.000 inserts. I now do a
new preparedStatement every 1.000 inserts.

-- 
Cecil Westerhof
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to