View Single Post

   
  #3 (permalink)  
Old 04-16-2008, 01:34 AM
Kris Jurka
 
Posts: n/a
Default Re: getArray() and char[]



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



---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply With Quote