From: ahnf <interz12@yahoo.com>
To: pgsql-jdbc@postgresql.org
Subject: ERROR transaction is read-only
Date: Wed, 24 Oct 2007 08:17:34 -0700 (PDT)
Message-ID: <263816.27775.qm@web36601.mail.mud.yahoo.com> (raw)
I am using the postgresql-8.2.506.jdbc4.jar file
My jdbc connections are setReadOnly(false)
When attempting an insert I get
org.postgresql.util.PSQLException: ERROR: transaction is read-only
ideas?
org.postgresql.util.PSQLException: ERROR: transaction is read-only
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1548)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1316)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:191)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:351)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:344)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: interz12@yahoo.com
Subject: Re: ERROR transaction is read-only
In-Reply-To: <263816.27775.qm@web36601.mail.mud.yahoo.com>
References: <263816.27775.qm@web36601.mail.mud.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox