Re: JDBC syntax error at end of input - Mailing list pgsql-jdbc

From Maciek Sakrejda
Subject Re: JDBC syntax error at end of input
Date
Msg-id CAOtHd0BBhXtoih6gvw-jwR9_NnApt=N_RNun5vBbFSFBnV6+_w@mail.gmail.com
Whole thread Raw
In response to JDBC syntax error at end of input  (Hans Vasquez-Gross <havasquezgross@ucdavis.edu>)
Responses Re: JDBC syntax error at end of input  (Hans Vasquez-Gross <havasquezgross@ucdavis.edu>)
List pgsql-jdbc
On Thu, May 17, 2012 at 2:49 PM, Hans Vasquez-Gross
<havasquezgross@ucdavis.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?

pgsql-jdbc by date:

Previous
From: Hans Vasquez-Gross
Date:
Subject: JDBC syntax error at end of input
Next
From: Dave Cramer
Date:
Subject: Re: Java 1.4