Hi all,
I'm getting a warning message in my logs that looks like this:
WARNING: COMMIT: no transaction in progress
when I run this code:
dbh.setAutoCommit(false);
Statement doEvents = dbh.createStatement();
doEvents.executeUpdate("DELETE FROM ...");
doEvents.executeUpdate("INSERT INTO ...");
dbh.commit();
dbh.setAutoCommit(true);
The statements do what they're supposed to do, but I don't understand
why I'm getting that warning message. Anyone know why?
I'm running PostgreSQL 7.3.1 and using the PostgreSQL 7.3 JDBC 2 driver
that I just downloaded a couple days ago from jdbc.postgresql.org.
Thanks,
--Jeremy