From a cursory glance at the code, the driver appears to do the right
thing with batches when autocommit is on. Can you provide a
self-contained test case? Or can you set loglevel to DEBUG (loglevel=2
in the connection string), configure logging with
DriverManager.setLogWriter(), and show us the log output of your test
case? Also, the output of "SELECT * FROM pg_locks" when you hit a
deadlock could be helpful.
---
Maciek Sakrejda | System Architect | Truviso
1065 E. Hillsdale Blvd., Suite 215
Foster City, CA 94404
(650) 242-3500 Main
msakrejda@truviso.com
www.truviso.com