-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RowMapper error with Postgres INET type converter #218
Comments
When using postgres,
For example, imagine you have a POJO and it has a property called
Here is an example: https://github.com/jklingsporn/vertx-jooq/blob/master/vertx-jooq-generate/src/test/java/io/github/jklingsporn/vertx/jooq/generate/converter/SomeJsonPojoConverter.java |
Would this mean a custom converter would need to be used? I imagine that ther ecould be some reflection done by the generator to check whether the converter implements PgConverter, or whether it's a default jOOQ one. In that case a wrapper class could possibly be generated for it. If that's not possible, would that mean a custom converter would need to be written? That seems less than ideal considering the converter for the Let me know if I'm not underestanding anything correctly. |
Feel free to contribute 🚀 |
Hello. I've just started evaluating this library, and I have noticed that there is an issue with the code generated for
RowMappers.java
when dealing with table that have column(s) of typeinet
.I have the necessary PostgreSQL jOOQ extensions installed, and have set up the ForcedType for it:
Here is the problematic part of
RowMappers.java
:rowConverter()
is not a method onORG_JOOQ_POSTGRES_EXTENSIONS_CONVERTERS_INETCONVERTER_INSTANCE
.There are also other related errors on the Login table object with
ip
.Is there something obvious that I am missing? If there is some work to be done to support this, I would be happy to contribute.
Thank you.
The text was updated successfully, but these errors were encountered: