new GregorianCalendar(2009, 12, 10).getTime(),
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());