| From: | ahnf <interz12(at)yahoo(dot)com> |
|---|---|
| To: | pgsql-jdbc(at)postgresql(dot)org |
| Subject: | ERROR transaction is read-only |
| Date: | 2007-10-24 15:17:34 |
| Message-ID: | 263816.27775.qm@web36601.mail.mud.yahoo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
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)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | interz12 | 2007-10-24 18:22:59 | Re: ERROR transaction is read-only |
| Previous Message | LiuYan 刘研 | 2007-10-24 14:03:20 | Re: Chinese database name in URL, can I ? |