public class MappedDelete<T,ID> extends BaseMappedStatement<T,ID>
argFieldTypes, clazz, connectionSource, dao, idField, logger, statement, tableInfo
Modifier and Type | Method and Description |
---|---|
static <T,ID> MappedDelete<T,ID> |
build(Dao<T,ID> dao,
TableInfo<T,ID> tableInfo) |
int |
delete(DatabaseConnection databaseConnection,
T data,
ObjectCache objectCache)
Delete the object from the database.
|
int |
deleteById(DatabaseConnection databaseConnection,
ID id,
ObjectCache objectCache)
Delete the object from the database.
|
convertIdToFieldObject, getFieldObjects, toString
public static <T,ID> MappedDelete<T,ID> build(Dao<T,ID> dao, TableInfo<T,ID> tableInfo) throws SQLException
SQLException
public int delete(DatabaseConnection databaseConnection, T data, ObjectCache objectCache) throws SQLException
SQLException
public int deleteById(DatabaseConnection databaseConnection, ID id, ObjectCache objectCache) throws SQLException
SQLException
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.