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
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.