Column quoting in result set getters

From: Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Column quoting in result set getters
Date: 2004-06-02 16:14:33
Message-ID: m34qpux7h2.fsf@conexa.fciencias.unam.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi,

When I try to get the value of a column by name, using quotes the
driver throws an exception telling me that that column does not
exists. The column name has accents:

int val = res.getInt("\"última\"");

Since quote_ident() quotes the names containing accents I think the
driver should accept the quoted version as well or am I missing
something? I'm using pg74.1jdbc3.jar.

Any thoughts?

Regards,
Manuel.

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jan Heise 2004-06-03 07:07:07 Re: int4/int8 problem with jdbc was Re: "Fix" for INT8 literals
Previous Message Paul Thomas 2004-06-02 13:27:21 Re: int4/int8 problem with jdbc was Re: "Fix" for INT8 literals