;
Team awayTeam = teams.get(awayIdx);
System.out.println("home team: " + homeTeam);
System.out.println("away team: " + awayTeam);
Event meeting = new Event();
meeting.setHomeTeam(homeTeam);
meeting.setHomeEventRiders(createMeetingRiders(meeting, homeTeam, RiderKind.HOME));
meeting.setAwayTeam(awayTeam);
meeting.setAwayEventRiders(createMeetingRiders(meeting, awayTeam, RiderKind.AWAY));
meeting.setDate(new Date());
em.persist(meeting);
}