Hi Lukas,

El viernes, 6 de mayo de 2016, 15:40:32 (UTC+2), Lukas Eder escribió:
>
> I think you won't be able to bind this data type with a Converter only, as 
> jOOQ doesn't know how to bind it to JDBC. You'll have to implement the 
> org.jooq.Binding SPI. Did you do that? In case you did, could you please 
> post that here?
>

Thank you for your support. While preparing everthing to write this e-mail 
I found the problem: While I had the binding in my code, I accidently 
registered the converter in my codegenerator configuration. Therefore jOOQ 
did not know about the binding. Fixing my configuration to the following 
made everything working for me:

<customType>                                     
    <name>GeometryToPosition</name>              
    <type>eu.m2machine.xpatron.transport.Position</type>
    <binding>eu.m2machine.xpatron.db.converter.PositionBinding</binding>
    <!--                                         
    <converter>                                  
        eu.m2machine.xpatron.db.converter.PositionConverter
    </converter>                                 
    -->                                          
</customType> 

I must have been to focused on the code while trying to fix the problem.


Thank you very much again,
Matthias

-- 
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