X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7CCD332A8DF for ; Thu, 21 Oct 2004 19:28:53 +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 13066-08 for ; Thu, 21 Oct 2004 18:28:41 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 7240032A90B for ; Thu, 21 Oct 2004 19:28:33 +0100 (BST) Received: (qmail 25572 invoked by uid 1112); 21 Oct 2004 18:27:48 -0000 Date: Thu, 21 Oct 2004 13:27:48 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: pgsql-jdbc@postgresql.org Subject: [GENERAL] JDBC +CIDR (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/219 X-Sequence-Number: 11324 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 To: pgsql-sql@postgresql.org Cc: pgsql-general@postgresql.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.