From: Kris Jurka <books@ejurka.com>
To: Thomas Kellerer <spam_eater@gmx.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Object types and ResultSets (java.sql.Struct)
Date: Tue, 10 Aug 2010 16:00:38 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.1008101559590.3528@leary.csoft.net> (raw)
In-Reply-To: <alpine.BSO.2.00.1001291637590.31378@leary.csoft.net>
References: <hjf8o6$m49$1@ger.gmane.org>
<alpine.BSO.2.00.1001291637590.31378@leary.csoft.net>
On Fri, 29 Jan 2010, Kris Jurka wrote:
> On Sat, 23 Jan 2010, Thomas Kellerer wrote:
>
>> DatabaseMetaData.getColumns() will return a java.sql.Types.STRUCT for the
>> column "contact".
>> That seems to be correct to me - at least this is what I expected ;)
>>
>> When running a "SELECT * FROM contacts", ResultSetMetaData.getColumnType()
>> will return java.sql.Types.OTHER (for the contact column)
>>
>> This seems to be inconsistent to me.
>>
>> My expectation was that ResultSetMetaData.getColumnType() should also
>> return java.sql.Types.STRUCT
>
> That should be easy enough to fix. I'll take a look.
I've applied a fix to this for 8.3, 8.4, and 9.0 in CVS.
Kris Jurka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, spam_eater@gmx.net
Subject: Re: Object types and ResultSets (java.sql.Struct)
In-Reply-To: <alpine.BSO.2.00.1008101559590.3528@leary.csoft.net>
References: <hjf8o6$m49$1@ger.gmane.org> <alpine.BSO.2.00.1001291637590.31378@leary.csoft.net> <alpine.BSO.2.00.1008101559590.3528@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox