"DELETE FROM " + sample.getTableName()
+ " WHERE " + foo
+ " IN ( "
+ " SELECT " + id
+ " FROM " + TABLE
+ " WHERE " + baz + " = " + temp.get_id()
+ " )"
and do a direct sqlite exec call:
public void exec(String sql) {
try {
this.db.execSQL(sql);
} catch (Exception e) {
getLogger().log(Level.SEVERE, "problem exec: ", e);
Comments?
gray
--------------------
QueryBuilder<Basic, String> bqb = basicDao.queryBuilder();
// must have only 1 field
bqb.selectColumns(Basic.ID_FIELD);
bqb.where().eq(Basic.ID_FIELD, string1);
// the field above must match the Foo field name but there is no internal checking
List<Foo> results = fooDao.query(fooDao.queryBuilder().where().in(Foo.STUFF_FIELD_NAME, bqb).prepare());
...