JDBC +CIDR - Mailing list pgsql-general

From Johann Robette
Subject JDBC +CIDR
Date
Msg-id 00fb01c4b073$cc125e60$a5010a0a@Johann
Whole thread Raw
List pgsql-general

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-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: OS not good for database
Next
From: "Daniel Verite"
Date:
Subject: Re: Message-ID as unique key?