Re: bit datatype and getObject()

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: bit datatype and getObject()
Дата
Msg-id 4D11FEA30200002500038998@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: bit datatype and getObject()  (Kris Jurka <books@ejurka.com>)
Ответы Re: bit datatype and getObject()  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Kris Jurka <books@ejurka.com> wrote:

> returing a String seems easiest, do other people have ideas?

What would the Java String look like for SQL B'101' ?

Would bool[] make any sense for an object type?

I'm not sure byte[] would be out of the question, but it would need
zero padding on one side or the other, and you would lose the exact
length.  :-(

What do other drivers do?  Is there any guidance in the JDBC
standard?

-Kevin

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: bit datatype and getObject()
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: bit datatype and getObject()