pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Barry Lind <blind@xythos.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: PGResultSetMetaData
Date: Tue, 25 Jan 2005 08:35:54 +1300
Message-ID: <41F54E1A.1050609@opencloud.com> (raw)
In-Reply-To: <03E7D3E231BB7B4A915A6581D4296CC6EC5862@NSNOVPS00411.nacio.xythos.com>
References: <03E7D3E231BB7B4A915A6581D4296CC6EC5862@NSNOVPS00411.nacio.xythos.com>

Barry Lind wrote:
> 
>>>(Kris, any reason why PGResultSetMetadata does not extend 
>>>ResultSetMetadata?)
> 
> 
> By ResultSetMetadata I assume you mean java.sql.ResultSetMetadata.  The
> problem with having PGResultSetMetadata extend that interface is which
> one would you end up extending?  The JDBC1, JDBC2, JDBC3 or JDBC4
> version?

Whichever one you're building against.. they're all called 
java.sql.ResultSetMetadata.

The reason I ask is that the current scheme is a little awkward to use 
if you want to use both the standard and extra interface methods. Either 
you need two variables providing different interface views on the same 
object, or you do a lot of casting.

-O




view thread (10+ messages)

Message-ID: <41F54E1A.1050609@opencloud.com>
Permalink:  ../41F54E1A.1050609@opencloud.com/
Also on:    postgresql.org/message-id/41F54E1A.1050609@opencloud.com

 · 

reply

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: oliver@opencloud.com, blind@xythos.com
  Subject: Re: PGResultSetMetaData
  In-Reply-To: <41F54E1A.1050609@opencloud.com>
  References: <03E7D3E231BB7B4A915A6581D4296CC6EC5862@NSNOVPS00411.nacio.xythos.com> <41F54E1A.1050609@opencloud.com>

* 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