RE: Collections/ODMG

2003-10-08 Thread Gunnar Hilling
On Thu, 09 Oct 2003 15:09:11 +1300, Shane Mingins wrote: Thanks for your fast response ... In the meantime I found the bug in my program. As You suggested the mapping was errorneous: I pointed the "inverse-foreignkey" to the primary key of Certificate instead of the correct foreignkey. It would be

RE: Collections/ODMG

2003-10-08 Thread Shane Mingins
nt: Thursday, 9 October 2003 12:57 p.m. > To: [EMAIL PROTECTED] > Subject: Collections/ODMG > > Hello! > > Why does the following Code: > > Customer customer=new Customer("no", "one", "here",0, "", 2, new Date()); >

Collections/ODMG

2003-10-08 Thread Gunnar Hilling
Hello! Why does the following Code: Customer customer=new Customer("no", "one", "here",0, "", 2, new Date()); for(int i=0; i<3; i++){ Transaction tx = odmg.newTransaction(); tx.begin(); tx.lock(customer, Transaction.WRITE); customer.addSchein(new certificate("%PS1\n", cust