[GENERAL] JDBC +CIDR (fwd)

From: Kris Jurka <books(at)ejurka(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [GENERAL] JDBC +CIDR (fwd)
Date: 2004-10-21 18:27:48
Message-ID: Pine.BSO.4.56.0410211317130.22147@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)onyme(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Cc: pgsql-general(at)postgresql(dot)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.

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Christian Niles 2004-10-21 18:55:30 Calling functions with smallint fails
Previous Message Christian Niles 2004-10-21 18:12:04 ClassCastException in getShort(int)