Hello,
I'm trying to port the use of postgresql db to mysql. I'm using
Java and having the following problem - I can't seem to write more
than 1 query per execution. Easier to explain with an example that
worked under postgresql and does not using mysql:
aStatement.exec uteQuery("BEGIN ; DELETE FROM table1; DELETE FROM
table1; DELETE FROM table3; COMMIT;");
If I separate this into 5 different queries it works fine... Any
ideas?? Thanks,
Slawek
I'm trying to port the use of postgresql db to mysql. I'm using
Java and having the following problem - I can't seem to write more
than 1 query per execution. Easier to explain with an example that
worked under postgresql and does not using mysql:
aStatement.exec uteQuery("BEGIN ; DELETE FROM table1; DELETE FROM
table1; DELETE FROM table3; COMMIT;");
If I separate this into 5 different queries it works fine... Any
ideas?? Thanks,
Slawek
Comment