From: | olarte(dot)andres(at)gmail(dot)com |
---|---|
To: | Joksan Nempu Fernandez <jnempu(at)gmail(dot)com>, pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Problemas with update sentence in postgres from jdbc |
Date: | 2008-04-06 17:06:23 |
Message-ID: | 3784406671207501583961@fastmobile.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
it seems you are trying to insert an int value in an array column. check your schema
---- Original Message ----
Hi:<br><br>I try this ...<br><br>String sql ="UPDATE crupier "+<br> "SET c_estado='"+cestado+"' WHERE "+<br> " c_rut='"+crut+"' ";<br>
<br>and send me the next exception Error:<br><br>04-04-2008 07:00:03 PM Persistencia.Mesa ActualizarTupla<br>GRAVE: null<br>org.postgresql.util.PSQLException: ERROR: el valor de array debe comenzar con «{» o información de dimensión<br>
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1548)<br> at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1316)<br> at org...
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2008-04-06 20:10:41 | Re: Hibernate / other ORM and pg_advisory_lock |
Previous Message | Craig Ringer | 2008-04-06 08:19:16 | Re: Problemas with update sentence in postgres from jdbc |