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 1942153C92 for ; Thu, 24 Feb 2005 16:06:44 +0000 (GMT) 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 77519-01 for ; Thu, 24 Feb 2005 16:06:37 +0000 (GMT) Received: from smtp.uk.colt.net (smtp.uk.colt.net [195.110.64.125]) by svr1.postgresql.org (Postfix) with ESMTP id 66FF453C91 for ; Thu, 24 Feb 2005 16:06:35 +0000 (GMT) Received: from [10.0.1.4] (unknown [212.161.21.117]) by smtp.uk.colt.net (Postfix) with ESMTP id 12177126AC3 for ; Thu, 24 Feb 2005 16:03:09 +0000 (GMT) From: David Goodenough Organization: D.G.A. ltd To: pgsql-jdbc@postgresql.org Subject: What is the SQL field type that corresponds to a JAVA_OBJECT Date: Thu, 24 Feb 2005 16:06:52 +0000 User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502241606.52275.david.goodenough@btconnect.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.253 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200502/187 X-Sequence-Number: 12367 As I understand it if I use the JDBC 2.0 setObject method with a Java Object that it will save a column with type Types.JAVA_OBJECT. How do I define such a column in a CREATE TABLE statement. I tried using JAVA_OBJECT as a data type, but psql rejected it. David