/** * To-many relationship, resolved on first access (and after reset). Changes to to-many relations * are not persisted, make changes to the target entity. */ public List<MatchData> getMatchDataList() { if (matchDataList == null) { if (daoSession == null) { throw new DaoException("Entity is detached from DAO context"); } MatchDataDao targetDao = daoSession.getMatchDataDao(); List<MatchData> matchDataListNew = targetDao._queryUser_MatchDataList(id); synchronized (this) { if (matchDataList == null) { matchDataList = matchDataListNew; } } } return matchDataList; }