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

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: (view raw, whole thread or download thread mbox)
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


pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group