Evolution #11080
Harmony inheritance single table children SQLiteAdapterBase query syntax error
Start date:
09/13/2017
Due date:
% Done:
0%
Estimated time:
Bdc:
Description
With management project in WorkerSQLiteAdapterBase and ManagerSQLiteAdapterBase query(final int id) method describe request with :
String selection = PersonContract.ALIASED_COL_ID + " = ?";
selection += PersonContract.COL_DISCRIMINATORCOLUMN + " = ?";
instead of
String selection = PersonContract.ALIASED_COL_ID + " = ?";
selection += " AND "
selection += PersonContract.COL_DISCRIMINATORCOLUMN + " = ?";
template code can be extract from update where correct where clause was defined :
final String whereClause = PersonContract.ALIASED_COL_ID
+ " = ?"
+ " AND " + PersonContract.COL_DISCRIMINATORCOLUMN + " = ?";
Recurrences