Hey Witold, 

JOOQ _should_ handle this seamlessly - our app runs on H2 and Oracle without 
the need to do any custom conversion. AFAIK, the JOOQ factory reads the dialect 
at runtime and issues the appropriate SQL transparently, as long as your 
boolean encoding is vaguely sane (e.g. something like 1,0, true, false). Have 
you been seeing issues with this?

Cheers,

Ben 


On Sunday, 27 January 2013 at 17:27, Witold Szczerba wrote:

> Hi,
> I am migrating from H2 to Oracle (H2 was used in early dev to kick start the 
> project, customer forces us to use Oracle). There are few problems, one of 
> which is the Oracle does not support boolean types, so following manual 
> section:
> 
> Custom data types and type conversion
> http://www.jooq.org/doc/2.6/manual/code-generation/custom-data-types/
> 
> Snippets available: https://gist.github.com/4649307
> 
> My question is: is it possible to enable that converter only when operating 
> on Oracle and ignore it otherwise?
> 
> Regards,
> Witold Szczerba
> -- 
>  
>  

-- 


Reply via email to