pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marek Lewczuk <newsy@lewczuk.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: Re: AbstractJdbc2Array - another patch
Date: Tue, 30 Oct 2007 10:02:09 +0100
Message-ID: <4726F311.8090001@lewczuk.com> (raw)
In-Reply-To: <Pine.BSO.4.64.0710281511210.31092@leary.csoft.net>
References: <470DE5E7.2090807@lewczuk.com>
	<Pine.BSO.4.64.0710180401490.16749@leary.csoft.net>
	<47172FF2.6070203@lewczuk.com>
	<4717A074.4000109@ejurka.com>
	<4721D42E.4060107@lewczuk.com>
	<Pine.BSO.4.64.0710261209350.18147@leary.csoft.net>
	<47222D11.5010006@lewczuk.com>
	<Pine.BSO.4.64.0710281511210.31092@leary.csoft.net>

Kris Jurka pisze:
> This makes sense to me, static data for known types, dynamic for unknown.
> 
Hi Kris,
in the attachment you can find jdbc.patch (that includes patches for a 
few classes). You will see that I've added base types array types and 
right now Array implementation works as should (your last test case is 
working, which means that when using Array.getResultSet() returns 
appropriate Array.getBaseType() and Array.getBaseTypeName()). However 
those changes are not enough, there has to be more to be done in order 
to provide support for user defined types, but  I think that should be 
done later. I also think that class TypeInfoCache must be absolutely 
rewritten, cause it is not prepared for user defined types.

Regards,
ML

Attachments:

  jdbc.zip (application/x-zip-compressed, 9.6K) download

view thread (20+ messages)  latest in thread

Message-ID: <4726F311.8090001@lewczuk.com>
Permalink:  ../4726F311.8090001@lewczuk.com/
Also on:    postgresql.org/message-id/4726F311.8090001@lewczuk.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: newsy@lewczuk.com, books@ejurka.com
  Subject: Re: AbstractJdbc2Array - another patch
  In-Reply-To: <4726F311.8090001@lewczuk.com>
  References: <470DE5E7.2090807@lewczuk.com> <Pine.BSO.4.64.0710180401490.16749@leary.csoft.net> <47172FF2.6070203@lewczuk.com> <4717A074.4000109@ejurka.com> <4721D42E.4060107@lewczuk.com> <Pine.BSO.4.64.0710261209350.18147@leary.csoft.net> <47222D11.5010006@lewczuk.com> <Pine.BSO.4.64.0710281511210.31092@leary.csoft.net> <4726F311.8090001@lewczuk.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