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
I'm using skinny ORM with table which doesn't have auto generated key.
So, I've override useAutoIncrementPrimaryKey and primaryKeyFieldName like this.
override def useAutoIncrementPrimaryKey: Boolean = false override def primaryKeyFieldName = "bookId" // bookId is Long
With this model, createWithNamedValue method fails with strange behavior.
If I don't get its result value, it succeed. But if I assign its result value into some variables, It fails with ClassCastException.
I've tried to add afterCreate and print id value. So, it says id value is ParameterBinder.(It should be Long)
afterCreate
id
afterCreate: Some(ParameterBinder(value=1))
I don't know why it doesn't cause compile error...
Minimum example is here
The text was updated successfully, but these errors were encountered:
Sorry for my late reply. We will apply some fixes on this.
Sorry, something went wrong.
No branches or pull requests
I'm using skinny ORM with table which doesn't have auto generated key.
So, I've override useAutoIncrementPrimaryKey and primaryKeyFieldName like this.
With this model, createWithNamedValue method fails with strange behavior.
If I don't get its result value, it succeed.
But if I assign its result value into some variables, It fails with ClassCastException.
I've tried to add
afterCreate
and print id value. So, it saysid
value is ParameterBinder.(It should be Long)I don't know why it doesn't cause compile error...
Minimum example is here
The text was updated successfully, but these errors were encountered: