[GENERAL] JDBC +CIDR (fwd) - Mailing list pgsql-jdbc

From Kris Jurka
Subject [GENERAL] JDBC +CIDR (fwd)
Date
Msg-id Pine.BSO.4.56.0410211317130.22147@leary.csoft.net
Whole thread Raw
Responses Re: [GENERAL] JDBC +CIDR (fwd)
List 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 by date:

Previous
From: Dave Cramer
Date:
Subject: Re: A couple of questions
Next
From: Christian Niles
Date:
Subject: ClassCastException in getShort(int)