We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you have a base model class:
public class MyBasePojo { private int val1; public int getVal1() { return val1; } }
And a class that extends it:
public class MyPojo extends MyBasePojo { private int val2; public int getVal2() { return val1; } }
The following will fail:
MyPojo p = getNewInstanceOfMyPojo(); sql2oConnection.createQuery ("insert into mytable(va1, val2) values (:val1, :val2)") .bind(p) .executeUpdate();
It fails because properties from MyBasePojo are not binded. Only properties declared in the top-level class are binded.
The text was updated successfully, but these errors were encountered:
Will be fixed as part of #80
Sorry, something went wrong.
dimzon
No branches or pull requests
If you have a base model class:
And a class that extends it:
The following will fail:
It fails because properties from MyBasePojo are not binded. Only properties declared in the top-level class are binded.
The text was updated successfully, but these errors were encountered: