JDBC +CIDR

From: "Johann Robette" <jrobette(at)onyme(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: JDBC +CIDR
Date: 2004-10-12 15:54:41
Message-ID: 00fb01c4b073$cc125e60$a5010a0a@Johann
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

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.

Browse pgsql-general by date

  From Date Subject
Next Message Csaba Nagy 2004-10-12 16:08:44 Re: Message-ID as unique key?
Previous Message Tom Lane 2004-10-12 15:54:08 Re: OS not good for database

Browse pgsql-sql by date

  From Date Subject
Next Message Thomas F.O'Connell 2004-10-12 17:01:06 Re: SQL confusion
Previous Message Tom Lane 2004-10-12 13:56:15 Re: Export tab delimited from mysql to postgres.