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

JDBC 'Unterminated quoted string'

From: Christopher Farley <chris(at)northernbrewer(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: JDBC 'Unterminated quoted string'
Date: 2000-11-08 19:30:45
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
I am migrating a Java application from a commercial RDBMS to
Postgresql. The transition has been near-seamless, except I am getting a
troublesome SQLException when executing one of my PreparedStatement

The SQLException is 'Unterminated quoted string', and it occurs on a
simple SQL insert statement. I have other insert statements which execute
flawlessly, and this particular statement worked fine on a different

I searched the archives and the only information I could find on this
error had to do with quoting question-mark (?) literals with ODBC. Since
the JDBC PreparedStatement uses ?, I was wondering if there was a problem
parsing the PreparedStatement. The only thing that distinguishes the
problematic PreparedStatement is that I am inserting a large number of
columns (21).

I'm using the jdbc7.0-1.1.jar, and running Posgresql 7.0.2.

Thanks if you can help!
Christopher Farley
Northern Brewer / 1150 Grand Avenue / St. Paul, MN 55105


pgsql-interfaces by date

Next:From: Grant FinnemoreDate: 2000-11-09 04:54:49
Subject: Re: JDBC 'Unterminated quoted string'
Previous:From: Dadure ArnaudDate: 2000-11-08 16:07:45
Subject: PostgreSQL + JDBC

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