PermissionType permissionType3 = new PermissionType();
permissionType3.setDescription("Private");
// load initial repetition-types
RepetitionType repetitionType1 = new RepetitionType();
repetitionType1.setDescription("None");
RepetitionType repetitionType2 = new RepetitionType();
repetitionType2.setDescription("Daily");
RepetitionType repetitionType3 = new RepetitionType();
repetitionType3.setDescription("Weekly");
RepetitionType repetitionType4 = new RepetitionType();
repetitionType4.setDescription("Monthly");
RepetitionType repetitionType5 = new RepetitionType();
repetitionType5.setDescription("Yearly");
Transaction transaction = session.beginTransaction();
transaction.begin();
try {