protected RelationEntity loadCurrentDeep(Cursor cursor, boolean lock) {
RelationEntity entity = loadCurrent(cursor, 0, lock);
int offset = getAllColumns().length;
RelationEntity parent = loadCurrentOther(daoSession.getRelationEntityDao(), cursor, offset);
entity.setParent(parent);
offset += daoSession.getRelationEntityDao().getAllColumns().length;
TestEntity testEntity = loadCurrentOther(daoSession.getTestEntityDao(), cursor, offset);
entity.setTestEntity(testEntity);
offset += daoSession.getTestEntityDao().getAllColumns().length;
TestEntity testNotNull = loadCurrentOther(daoSession.getTestEntityDao(), cursor, offset);
if(testNotNull != null) {
entity.setTestNotNull(testNotNull);
}
offset += daoSession.getTestEntityDao().getAllColumns().length;
TestEntity testWithoutProperty = loadCurrentOther(daoSession.getTestEntityDao(), cursor, offset);
entity.setTestWithoutProperty(testWithoutProperty);
return entity;
}