Re: error: operator does not exist: bigint = character varying
- From: Oliver Jowett <oliver(at)opencloud(dot)com>
- To: Edoardo Panfili <edoardo(at)aspix(dot)it>
- Cc: pgsql-jdbc(at)postgresql(dot)org
- Subject: Re: error: operator does not exist: bigint = character varying
- Date: Thu, 28 Jun 2007 11:28:05 +1200
- Message-id: <4682F285.10601@opencloud.com> <text/plain>
Edoardo Panfili wrote:
org.postgresql.util.PSQLException: ERROR: operator does not exist:
bigint = character varying
ps.setString(1, rilievo.dato[Rilievo.ID]);
Use a setter that's appropriate to the type e.g. setLong(), not setString().
-O
Home |
Main Index |
Thread Index