Re: AbstractJdbc2Array - another patch

From: Marek Lewczuk <newsy(at)lewczuk(dot)com>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: AbstractJdbc2Array - another patch
Date: 2007-10-30 09:02:09
Message-ID: 4726F311.8090001@lewczuk.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

Attachment Content-Type Size
jdbc.zip application/x-zip-compressed 9.6 KB

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message joël Winteregg 2007-10-30 09:35:34 XAResource implementation
Previous Message Prasanth Reddy 2007-10-29 19:44:58 getXXX throws SQLException while on insert row