Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 4689 invoked from network); 13 Mar 2009 04:44:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Mar 2009 04:44:38 -0000 Received: (qmail 79204 invoked by uid 500); 13 Mar 2009 04:44:36 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 79186 invoked by uid 500); 13 Mar 2009 04:44:36 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 79177 invoked by uid 99); 13 Mar 2009 04:44:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2009 21:44:36 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Ivan.Bojer@citrix.com designates 66.165.176.63 as permitted sender) Received: from [66.165.176.63] (HELO SMTP02.CITRIX.COM) (66.165.176.63) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Mar 2009 04:44:28 +0000 X-IronPort-AV: E=Sophos;i="4.38,355,1233550800"; d="scan'208,217";a="43228879" Received: from sjcpmailmx02.citrite.net ([10.216.4.75]) by FTLPIPO02.CITRIX.COM with ESMTP; 13 Mar 2009 00:43:48 -0400 Received: from SJCPMAILBOX01.citrite.net ([10.216.4.72]) by SJCPMAILMX02.citrite.net ([10.216.4.75]) with mapi; Thu, 12 Mar 2009 21:43:48 -0700 From: Ivan Bojer To: IBatis Date: Thu, 12 Mar 2009 21:43:44 -0700 Subject: Postgresql and ENUMs Thread-Topic: Postgresql and ENUMs Thread-Index: AcmjgtHmkS/J3fMXTyCqRQXMZdKHtQAE3gtb Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C5DF32901A3DIvanBojercitrixcom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_C5DF32901A3DIvanBojercitrixcom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable We just switched to postgresql 8.3 and enums seem like pretty nifty feature= . The problem is that my mapping does not like enums. I know that there are= custom typehandlers which one can use to convert Java enums into JDBC type= , but what can I use if I want to convert Java INT into postgresql ENUM? --_000_C5DF32901A3DIvanBojercitrixcom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Postgresql and ENUMs We just switched to postgresql 8.3 and enums seem like pretty nifty f= eature. The problem is that my mapping does not like enums. I know that the= re are custom typehandlers which one can use to convert Java enums into JDB= C type, but what can I use if I want to convert Java INT into postgresql EN= UM? --_000_C5DF32901A3DIvanBojercitrixcom_--