tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 56586] initSQL should be committed if defaultAutoCommit == false
Date Thu, 05 Jun 2014 13:58:58 GMT

--- Comment #2 from Craig Servin <> ---
I am using postgresql and the problem originally showed up when the initSQL was
executing a set search_path and a rollback was triggered by the first
transaction.  To test/recreate the issue I did trigger the same problem with
DML( an insert into a temp table, which then is rolled back).

I was able to "fix" the issue in my case by adding a ";commit" to the end of my
actual initSQL, although this makes me nervous since you are supposed to use
the Connections commit() method when using JDBC.

That solution seamed a little bit hackish to me so I posted this ticket.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message