com.j256.ormlite.stmt.mapped
Class MappedDelete<T,ID>
java.lang.Object
com.j256.ormlite.stmt.mapped.BaseMappedStatement<T,ID>
com.j256.ormlite.stmt.mapped.MappedDelete<T,ID>
public class MappedDelete<T,ID>
- extends BaseMappedStatement<T,ID>
A mapped statement for deleting an object.
- Author:
- graywatson
build
public static <T,ID> MappedDelete<T,ID> build(DatabaseType databaseType,
TableInfo<T,ID> tableInfo)
throws SQLException
- Throws:
SQLException
delete
public int delete(DatabaseConnection databaseConnection,
T data,
ObjectCache objectCache)
throws SQLException
- Delete the object from the database.
- Throws:
SQLException
deleteById
public int deleteById(DatabaseConnection databaseConnection,
ID id,
ObjectCache objectCache)
throws SQLException
- Delete the object from the database.
- Throws:
SQLException
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.