I am using a custom converter and using the following expression in the forceType. But it looks the the expression doesnt work and the converter doesnt get executed.
<forcedType>
<name>UPOrigin</name>
<expression>up_entries\.origin|up_methods\.origin</expression>
</forcedType>
Any help would be great.
Until version 3.11, you have to either fully qualify your expressions (including schema name) or leave them unqualified. I've created a feature request to improve this: https://github.com/jOOQ/jOOQ/issues/7947
In jOOQ 3.11, any of these should work:
<forcedType>
<name>UPOrigin</name>
<expression>my_schema\.(up_entries\.origin|up_methods\.origin)</expression>
</forcedType>
<forcedType>
<name>UPOrigin</name>
<expression>.*?\.(up_entries\.origin|up_methods\.origin)</expression>
</forcedType>
<forcedType>
<name>UPOrigin</name>
<expression>origin</expression>
</forcedType>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.