Re: jdbc spec violation for autocommit=true & addbatch/executeBatch

From: Maciek Sakrejda <msakrejda(at)truviso(dot)com>
To: Quartz <quartz12h(at)yahoo(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: jdbc spec violation for autocommit=true & addbatch/executeBatch
Date: 2011-01-18 18:20:16
Message-ID: AANLkTi=g2zhXcfwj9Sqkm+qH8A7hGzbv5=6kpTqek5C8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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(at)truviso(dot)com
www.truviso.com

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Quartz 2011-01-18 19:50:45 Re: jdbc spec violation for autocommit=true & addbatch/executeBatch
Previous Message Quartz 2011-01-18 17:33:03 Re: jdbc spec violation for autocommit=true & addbatch/executeBatch