X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A2E2132A7CE; Tue, 12 Oct 2004 16:55:43 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 67782-09; Tue, 12 Oct 2004 15:55:40 +0000 (GMT) Received: from dns.cegetel-passerelle.com (dns.cegetel-passerelle.com [213.223.187.134]) by svr1.postgresql.org (Postfix) with ESMTP id EF31D32A4FC; Tue, 12 Oct 2004 16:55:38 +0100 (BST) Received: from escmail.esc-lille.fr (unknown [213.223.237.160]) by dns.cegetel-passerelle.com (Postfix) with ESMTP id 7AF2D26E18; Tue, 12 Oct 2004 17:55:06 +0200 (CEST) Received: from srvmail.esc-lille.fr (srvmail.esc-lille.fr [10.1.10.5]) by escmail.esc-lille.fr (Postfix) with ESMTP id C971E67C0DF; Tue, 12 Oct 2004 17:53:46 +0200 (CEST) Received: from Johann ([10.10.1.165]) by srvmail.esc-lille.fr with Microsoft SMTPSVC(5.0.2195.6713); Tue, 12 Oct 2004 17:54:40 +0200 From: "Johann Robette" To: Cc: Subject: JDBC +CIDR Date: Tue, 12 Oct 2004 17:54:41 +0200 Message-ID: <00fb01c4b073$cc125e60$a5010a0a@Johann> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00FC_01C4B084.8F9B2E60" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-OriginalArrivalTime: 12 Oct 2004 15:54:40.0634 (UTC) FILETIME=[C897DDA0:01C4B073] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.6 tagged_above=0.0 required=5.0 tests=HTML_MESSAGE, SUBJ_ALL_CAPS X-Spam-Level: X-Archive-Number: 200410/472 X-Sequence-Number: 66996 This is a multi-part message in MIME format. ------=_NextPart_000_00FC_01C4B084.8F9B2E60 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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. ------=_NextPart_000_00FC_01C4B084.8F9B2E60 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

I’ve a table conta= ining a CIDR field.

I’m using an EJB to create a new record in this table.

I don’t know how t= o pass the CIDR value. I tried by String but I get this error = :

            =     javax.ejb.FinderE= xception: Find failed: = java.sql.SQLException: ERROR: operator does not exist: cidr =3D text

So how should I do?=

 =

Thanks in advance…=

------=_NextPart_000_00FC_01C4B084.8F9B2E60--