/** @see #findById(Context, Class, long) */ public static <T> T findById(Class<T> object, long id) { return CPOrm.findByPrimaryKey(object, id); }
/** * Finds a record based on the id column * * @param context Current context * @param id the id of the record to find * @return The record, if found. */ public static <T> T findById(Context context, Class<T> object, long id) { return CPOrm.findByPrimaryKey(context, object, id); }