Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group