org.fluentjdbc.DatabaseUpdateable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluent-jdbc Show documentation
Show all versions of fluent-jdbc Show documentation
A Java library used to execute JDBC statements and build SQL
package org.fluentjdbc;
import javax.annotation.Nullable;
import java.util.Collection;
public interface DatabaseUpdateable> {
T setFields(Collection fields, Collection> values);
T setField(String field, @Nullable Object value);
default T setFieldIfPresent(String field, @Nullable Object value) {
if (value != null) {
setField(field, value);
}
//noinspection unchecked
return (T)this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy