[GENERAL] JDBC +CIDR (fwd)

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема [GENERAL] JDBC +CIDR (fwd)
Дата
Msg-id Pine.BSO.4.56.0410211317130.22147@leary.csoft.net
обсуждение исходный текст
Ответы Re: [GENERAL] JDBC +CIDR (fwd)  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
What kind of solution can we offer for this problem?  Do we really need to
make PGobject extensions for every type?  Do we really want to force
people to have to create these for all user defined types?

Kris Jurka

---------- Forwarded message ----------
Date: Tue, 12 Oct 2004 17:54:41 +0200
From: Johann Robette <jrobette@onyme.com>
To: pgsql-sql@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: [GENERAL] JDBC +CIDR

Hi,
I've a table containing a CIDR field.
I'm using an EJB to create a new record in this table.
I don't know how to pass the CIDR value. I tried by String but I get
this error :
                javax.ejb.FinderException: Find failed:
java.sql.SQLException: ERROR: operator does not exist: cidr = text
So how should I do?

Thanks in advance.

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: A couple of questions
Следующее
От: Christian Niles
Дата:
Сообщение: ClassCastException in getShort(int)