ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kengkaj Sathianpantarit <kengka...@gmail.com>
Subject Re: Postgresql and ENUMs
Date Fri, 13 Mar 2009 06:18:58 GMT
You just implement com.ibatis.sqlmap.client.extensions.TypeHandlerCallback
in a way you want.

On Fri, Mar 13, 2009 at 11:43 AM, Ivan Bojer <Ivan.Bojer@citrix.com> wrote:

>  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

View raw message