You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Gunnar Hilling <ne...@hilling.de> on 2003/10/09 01:56:36 UTC
Collections/ODMG
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: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org