@Entity(tableName = "profiles")
public class Profile {
+ public static final long NO_PROFILE_ID = 0;
@ColumnInfo
@PrimaryKey(autoGenerate = true)
private long id;
TransactionDAO trnDao = DB.get()
.getTransactionDAO();
- trnDao.deleteSync(trnDao.allForProfileSync(id));
+ trnDao.deleteSync(trnDao.getAllForProfileUnorderedSync(id));
DescriptionHistoryDAO descDao = DB.get()
.getDescriptionHistoryDAO();