Re: getArray() and char[]

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: getArray() and char[]
Дата
Msg-id Pine.BSO.4.64.0702012139250.26065@leary2.csoft.net
обсуждение исходный текст
Ответ на getArray() and char[]  (Jeffrey Cox <namredips@gmail.com>)
Список pgsql-jdbc

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



В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Miroslav Šulc
Дата:
Сообщение: JDBC and arrays
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: JDBC and arrays