new GregorianCalendar(2009, 12, 20).getTime(), "new", null,
true);
rezervace.save();
Transfer transfer = new Transfer(rezervace.getIDres());
transfer.save();
Payment payment = new Payment(new GregorianCalendar(2009, 12, 10)
.getTime(), null, transfer);
payment.save();
rezervace.setIDpay(payment.getIDpay());
rezervace.update();
ArrayList<Reservation> res = Reservation.getReservations();
Iterator<Reservation> i = res.iterator();