Re: JDBC 'Unterminated quoted string' - Mailing list pgsql-interfaces

From Christopher Farley
Subject Re: JDBC 'Unterminated quoted string'
Date
Msg-id Pine.BSF.4.21.0011101118450.47752-100000@kraeusen.nbrewer.com
Whole thread Raw
In response to Re: JDBC 'Unterminated quoted string'  (Grant Finnemore <gaf@ucs.co.za>)
List pgsql-interfaces
On Fri, 10 Nov 2000, Grant Finnemore wrote:

> Peter,
> 
> Joseph Shraibman contacted me yesterday about whether or not the patch that I
> sent actually does the correct thing. I enclose my response below.

I think the patch does do the correct thing. Remember, in Java,
String.valueOf('\0')==null returns false, so Java developers should not be
surprised when their data shows up in a postgres column as '' rather than
null.   

I just think that '\0' should be parsed or stripped from Java strings so
that it doesn't cause weird unterminated string errors.



pgsql-interfaces by date:

Previous
From: Jamie Walker
Date:
Subject: Re: Access 2000 and empty fields
Next
From: Vic
Date:
Subject: Pl/Sql Error (may be..... )