2017-08-17 21:21 GMT+02:00 <[email protected]>:

> I want to bind my composite type to my own Java object and not to the UDT
> object generated by Jooq.
>

I wouldn't do that if I were you. We've fixed tons of bugs over the last
releases to get this to work with all sorts of potentially nested UDTs and
arrays and what not. The PostgreSQL JDBC driver is very incomplete as far
as binding PostgreSQL's advanced data types are concerned. Ultimately, it
just boils down to parsing / serialising things to strings.

Having said so, you can easily apply a Converter (rather than a Binding) to
automatically map the generated jOOQ UDTRecord to your custom type.
Implementing a Converter is also much simpler than implementing a Binding

I hope this helps
Lukas

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to