Re: inet datatype question!

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: inet datatype question!
Дата
Msg-id 1021896719.16927.15.camel@inspiron.cramers
обсуждение исходный текст
Ответ на inet datatype question!  (<m.bakirov@transfer.kg>)
Ответы SocketException: "catch me if you can"  (Michael Adler <adler@glimpser.org>)
Re: inet datatype question!  (<m.bakirov@transfer.kg>)
Список pgsql-jdbc
Hi,

Unfortunately java doesn't have a "type" that corresponds to the
postgres inet type. You can retrieve it as a string however. Use
getString. Of course you will have to parse the string.

Dave
On Mon, 2002-05-20 at 06:41, m.bakirov@transfer.kg wrote:
> Hi all!
>
> Can you help me with the following problem?
>
> I have created a table:
>
> CREATE TABLE(
> src inet,
> dst inet,
> size int);
>
> How can I insert an ip address or a network address into src or dst within
> a Java program, using a Postgresql JDBC driver? - Which method to use? -->
> setXxx?
> Thank you very much!
>
>
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
>




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

Предыдущее
От:
Дата:
Сообщение: inet datatype question!
Следующее
От: Michael Adler
Дата:
Сообщение: SocketException: "catch me if you can"