From: Kris Jurka <books@ejurka.com>
To: Jeffrey Cox <namredips@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: getArray() and char[]
Date: Thu, 1 Feb 2007 21:40:16 -0500 (EST)
Message-ID: <Pine.BSO.4.64.0702012139250.26065@leary2.csoft.net> (raw)
In-Reply-To: <BE01C553-D2BF-4C10-A597-CFB32B460E5E@gmail.com>
References: <6F3C7223-5334-4EAA-8A81-9F2A0414FB1A@gmail.com>
<Pine.BSO.4.64.0702011235140.7805@leary2.csoft.net>
<BE01C553-D2BF-4C10-A597-CFB32B460E5E@gmail.com>
On Thu, 1 Feb 2007, Jeffrey Cox wrote:
> Are you saying that the line I added in TypeInfoCache was correct with
> "java.lang.Character", but in AbstractJdbc2Array I need to do something to
> ensure the return of a string... or should the line in TypeInfoCache be a
> string?
>
I was only really thinking about the addition to TypeInfoCache mapping
"char" -> Types.CHAR, but you're right the class should be
java.lang.String. That class must be what's returned by getObject which
is driven off the Types.CHAR value.
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, namredips@gmail.com
Subject: Re: getArray() and char[]
In-Reply-To: <Pine.BSO.4.64.0702012139250.26065@leary2.csoft.net>
References: <6F3C7223-5334-4EAA-8A81-9F2A0414FB1A@gmail.com> <Pine.BSO.4.64.0702011235140.7805@leary2.csoft.net> <BE01C553-D2BF-4C10-A597-CFB32B460E5E@gmail.com> <Pine.BSO.4.64.0702012139250.26065@leary2.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