Re: JDBC syntax error at end of input

From: Maciek Sakrejda <m(dot)sakrejda(at)gmail(dot)com>
To: Hans Vasquez-Gross <havasquezgross(at)ucdavis(dot)edu>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JDBC syntax error at end of input
Date: 2012-05-18 05:25:15
Message-ID: CAOtHd0BBhXtoih6gvw-jwR9_NnApt=N_RNun5vBbFSFBnV6+_w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Thu, May 17, 2012 at 2:49 PM, Hans Vasquez-Gross
<havasquezgross(at)ucdavis(dot)edu> wrote:
>    I am trying to build a query using StringBuilder based off a variable
> size ArrayList of inputs.  When testing a simplest use case of one input ID,
> I get an syntax error at end of input.  However, if I copy the generated SQL
> and run it in pgAdmin3, it is able to execute successfully.  Below is the
> error with loglevel2 enabled.  Any advice would be much appreciated.

What is your Java code?

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2012-05-18 10:19:13 Re: Java 1.4
Previous Message Hans Vasquez-Gross 2012-05-17 21:49:57 JDBC syntax error at end of input