package io.ebeaninternal.server.persist;
import io.ebeaninternal.server.core.PersistRequestBean;
import javax.persistence.PersistenceException;
Defines bean insert update and delete implementation.
/**
* Defines bean insert update and delete implementation.
*/
public interface BeanPersister {
execute the insert bean request.
/**
* execute the insert bean request.
*/
void insert(PersistRequestBean<?> request) throws PersistenceException;
execute the update bean request.
/**
* execute the update bean request.
*/
void update(PersistRequestBean<?> request) throws PersistenceException;
execute the delete bean request.
/**
* execute the delete bean request.
*/
int delete(PersistRequestBean<?> request) throws PersistenceException;
}