mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-22 15:10:02 +00:00
Add parameter type for Query.Property with DefaultUpdateQuery and TQRootBean
This commit is contained in:
1 parent
3c8c52ca7f
commit
4a0f8931a0
2 files changed
+3
-3
No files matched your search
@@ -36,12 +36,12 @@ public final class DefaultUpdateQuery<T> implements UpdateQuery<T> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public UpdateQuery<T> set(Query.Property property, Object value) {
|
||||
public <P> UpdateQuery<T> set(Query.Property<P> property, P value) {
|
||||
return set(property.toString(), value);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UpdateQuery<T> setNull(Query.Property property) {
|
||||
public UpdateQuery<T> setNull(Query.Property<?> property) {
|
||||
return setNull(property.toString());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user