@Override
	public int delete(GeometryIndex data) throws SQLException {
		DeleteBuilder<GeometryIndex, GeometryIndexKey> db = deleteBuilder();

		db.where().eq(GeometryIndex.COLUMN_TABLE_NAME, data.getTableName())
				.and().eq(GeometryIndex.COLUMN_GEOM_ID, data.getGeomId());

		PreparedDelete<GeometryIndex> deleteQuery = db.prepare();
		int deleted = delete(deleteQuery);
		return deleted;
	}
@ Override public int delete ( GeometryIndex data ) throws SQLException { DeleteBuilder < GeometryIndex , GeometryIndexKey > db = deleteBuilder ( ) ; db . where ( ) . eq ( GeometryIndex . COLUMN_TABLE_NAME , data . getTableName ( ) ) . and ( ) . eq ( GeometryIndex . COLUMN_GEOM_ID , data . getGeomId ( ) ) ; PreparedDelete < GeometryIndex > deleteQuery = db . prepare ( ) ; int deleted = delete ( deleteQuery ) ; return deleted ; }
{@inheritDoc}