Re: Byte Array ?

Поиск
Список
Период
Сортировка
От Barry Lind
Тема Re: Byte Array ?
Дата
Msg-id 3E98C6C8.5030700@xythos.com
обсуждение исходный текст
Ответ на Byte Array ?  (Charlie Kelly <Charlie@CharlieKelly.com>)
Список pgsql-jdbc
I think the datatype bytea is what you are looking for.  And getBytes()
is the method you are looking for.

--Barry

Charlie Kelly wrote:
> What is the correct syntax to create a table with an array of bytes?
>
> I tried
> CREATE TABLE tablename (bytearrayname TINYINT[] );
>
> but that doesn't work.
>
> Also, what is the correct getXXX method to access stored array from a
> row in a ResultSet?
>
> Thanks
>
> Charlie
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>


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

Предыдущее
От: Charlie Kelly
Дата:
Сообщение: Byte Array ?
Следующее
От: Barry Lind
Дата:
Сообщение: Re: patch for cursor based querys in JDBC