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", customer)); tx.commit();
}

only write 1 instance of certificate to the db?

Any Help greatly appreciated,

-Gunnar



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to