Add parameter type for Query.Property with DefaultUpdateQuery and TQRootBean

This commit is contained in:
Rob Bygrave committed 2022-11-09 23:41:42 +13:00
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());
}