contract.setContractValue2(1);
contract.setContractValue3("contractvalue3");
contract.setContractValue4(new Timestamp(System.currentTimeMillis()));
database.makePersistent(contract);
RelatedToContract rtc = new RelatedToContract();
rtc.setPk("R" + System.currentTimeMillis());
rtc.setRelatedValue1("test");
rtc.setRelatedValue2(5);
rtc.setRelatedValue3(new Timestamp(System.currentTimeMillis()));
contract.setRelatedToContract(rtc);
database.makePersistent(rtc);
Version version = new Version();
version.setPk("V" + System.currentTimeMillis());