Skip site navigation (1) Skip section navigation (2)


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: (view raw or whole 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

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

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group