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
Generator support for generic list/set bindings to array fields #1784
Labels
Comments
Thank you for reporting this, I'm excited someone is actually using the generator! |
stevenschlansker
added a commit
that referenced
this issue
Nov 21, 2020
…e List<T> Hopefully fixes #1784
stevenschlansker
added a commit
that referenced
this issue
Nov 21, 2020
…e List<T> Hopefully fixes #1784
Hi @alexcase52 , if you have time could you test and see if #1788 fixes your problem? |
Also note that you'll need to have |
Fixed in 3.18.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have pojo like
the
field
is mapped into array column in DB.I have
This is working fine when I use proxy-based SqlObjects. But when I switched to generator, I got errors like:
No argument factory registered for type [java.util.List] for element [field] on [SomePojo@dd568eb] [statement:"INSERT INTO some_pojo(id, field) values (id, :field)", arguments:{positional:{}, named:{}, finder:[{lazy bean field arguments "SomePojo@dd568eb"]}]
I can workaround this by changing pojo to:
but this produces some boilerplate to convert then into
Set<String>
orList<String>
jdbi3-generator 3.17.0
The text was updated successfully, but these errors were encountered: