Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id DFE219FB309 for ; Thu, 1 Feb 2007 22:40:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 96385-09 for ; Thu, 1 Feb 2007 22:40:17 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by postgresql.org (Postfix) with ESMTP id 67AFE9FB1DD for ; Thu, 1 Feb 2007 22:40:17 -0400 (AST) Received: by mail63.csoft.net (Postfix, from userid 1112) id 59176FAC4; Thu, 1 Feb 2007 21:40:16 -0500 (EST) Date: Thu, 1 Feb 2007 21:40:16 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary2.csoft.net To: Jeffrey Cox cc: pgsql-jdbc@postgresql.org Subject: Re: getArray() and char[] In-Reply-To: Message-ID: References: <6F3C7223-5334-4EAA-8A81-9F2A0414FB1A@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/12 X-Sequence-Number: 16568 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