All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.avaje.ebeaninternal.server.persist.dmlbind.BindableIdEmpty Maven / Gradle / Ivy

There is a newer version: 9.5.1
Show newest version
package com.avaje.ebeaninternal.server.persist.dmlbind;

import java.sql.SQLException;
import java.util.List;

import com.avaje.ebean.bean.EntityBean;
import com.avaje.ebeaninternal.server.core.PersistRequestBean;
import com.avaje.ebeaninternal.server.persist.dml.GenerateDmlRequest;

public class BindableIdEmpty implements BindableId {

  public boolean isEmpty() {
    return true;
  }

  @Override
  public boolean isDraftOnly() {
    return false;
  }

  public void addToUpdate(PersistRequestBean request, List list) {
    // nothing
  }

  public void dmlAppend(GenerateDmlRequest request) {
    // nothing
  }

  public void dmlBind(BindableRequest request, EntityBean bean) throws SQLException {
    // nothing
  }

  public boolean isConcatenated() {
    return false;
  }

  public String getIdentityColumn() {
    return null;
  }

  public boolean deriveConcatenatedId(PersistRequestBean persist) {
    return false;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy