Re: upgrade problem with driver postgresql-8.1-407.jdbc3.jar

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: David Gagnon <dgagnon(at)siunik(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: upgrade problem with driver postgresql-8.1-407.jdbc3.jar
Date: 2006-09-06 20:13:22
Message-ID: 44FF2BE2.2020708@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

David Gagnon wrote:

> I started having syntax error with the new driver and cannot find where
> is the problem.
> Here is the log:

> 2006-09-06 09:48:20 LOG: statement: PREPARE <unnamed> AS COPY
> vd (VDVSSRC, VDVSNUM, VDKEY, VDDATA) FROM $1

Unfortunately that means you are using a ? placeholder in a location
where the server-side SQL grammar doesn't allow a parameter. You will
have to construct the query by hand yourself rather than using ?.

-O

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2006-09-06 20:14:10 Re: Moving to pgfoundry
Previous Message Oliver Jowett 2006-09-06 20:12:09 Re: scollable result sets