I have the same problem. Any help ?
-----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : jeudi 20 mars 2003 08:50 À : [EMAIL PROTECTED] Objet : What happens when an insert with ODMG fails? Hi, following question about storing a new object: I have an Object with an attribute ID of type BigDecimal. I write the Object with ODMG: ... tx.lock(myObject, Transaction.WRITE); tx.commit(); if I set the ID to a valid number the every thing works fine. if I set the ID to a number witch still exists then no insert is made, but also not exception is thrown. Is there a way to find out if the insert was successful or not? regards Matthias Roth --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]