try {
tx = PersistenceManager.session.beginTransaction();
PersistenceManager.session["delete"]( depot ); // *1
net.depots.remove( depot ); // *2 } catch ( ex ) {
error = ex;
} finally { if ( error != null ) tx.rollback();
else
tx.commit();
}
if line *1 throws line *2 still gets executed. Isn't that a bug ?
-- Leszek Gawron [EMAIL PROTECTED] Project Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65
