Re: ResultSetMetaData enhancements - Mailing list pgsql-jdbc

From ow
Subject Re: ResultSetMetaData enhancements
Date
Msg-id 20040713035839.66212.qmail@web53910.mail.yahoo.com
Whole thread Raw
In response to Re: ResultSetMetaData enhancements  (Kris Jurka <books@ejurka.com>)
Responses Re: ResultSetMetaData enhancements
List pgsql-jdbc
Hi,

Yes, rsmd.getTableName() appears to work. However, I was under impression that
the folowing should also work (but it does not):

someValue = rs.getXXX("table.column"); // instead of just rs.getXXX("column")

This would be usefull if result set contained two columns from different tables
with the same name.

Am I wrong on that one? Thanks


--- Kris Jurka <books@ejurka.com> wrote:
> No.  I've tested it for all versions going back to 7.2.  Although if you
> want to use this feature you need at least a 7.4 server because it
> requires using the new V3 protocol.
>
> Kris Jurka










__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: ResultSetMetaData enhancements
Next
From: Kris Jurka
Date:
Subject: Re: ResultSetMetaData enhancements