2014-04-28 17:18 GMT+02:00 Garret Wilson <[email protected]>:

> On Monday, April 28, 2014 7:25:46 AM UTC-7, Lukas Eder wrote:
>
>>
>>
>>>
>>>
>>>>  ...
>>>> Or your own programmatic strategies:
>>>> http://www.jooq.org/doc/latest/manual/code-generation/codege
>>>> n-generatorstrategy/
>>>>
>>>
>>> Ooh, that looks promising! Thanks! I'll investigate that immediately.
>>>
>>
>> Yes, I think that would be the best way forward.
>>
>>
> Hmmm... this is not working. I'm sure I'm doing something wrong. I just
> want to force the conversion of foo:bar to FOO_BAR (e.g. setFOO_BAR). So
> following the examples, I try:
>
> <strategy>
>   <matchers>
>     <fields>
>       <expression>^(.+):(.+)$</expression>
>       <fieldIdentifier>
>         <transform>UPPER</transform>
>         <expression>$1_$2</expression>
>       </fieldIdentifier>
>     </fields>
>   </matchers>
> </strategy>
>
> That gives me an error: Cannot configure instance of
> org.jooq.util.jaxb.MatchersFieldType from ^(.+):(.+)$
>

This error message looks quite much like the one here:
https://groups.google.com/forum/#!msg/jooq-user/1iy0EdWe_T8/rljooohQed0J

... which was an issue that was fixed in jOOQ 3.3:
https://github.com/jOOQ/jOOQ/issues/2910

I'm just checking... Have you upgraded everything to 3.3?

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