io.ebeaninternal.server.persist.dmlbind.BindableIdEmpty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean Show documentation
Show all versions of ebean Show documentation
composite of common runtime dependencies for all platforms
package io.ebeaninternal.server.persist.dmlbind;
import io.ebean.bean.EntityBean;
import io.ebeaninternal.server.core.PersistRequestBean;
import io.ebeaninternal.server.persist.dml.GenerateDmlRequest;
import java.sql.SQLException;
import java.util.List;
public class BindableIdEmpty implements BindableId {
@Override
public boolean isEmpty() {
return true;
}
@Override
public boolean isDraftOnly() {
return false;
}
@Override
public void addToUpdate(PersistRequestBean> request, List list) {
// nothing
}
@Override
public void dmlAppend(GenerateDmlRequest request) {
// nothing
}
@Override
public void dmlBind(BindableRequest request, EntityBean bean) throws SQLException {
// nothing
}
@Override
public boolean isConcatenated() {
return false;
}
@Override
public String getIdentityColumn() {
return null;
}
@Override
public boolean deriveConcatenatedId(PersistRequestBean> persist) {
return false;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy