Hi Eddie Transactions with container trans. management are commitet automaticaly after business method is called, if there was no exceptions. You can prevent it by invoking setRollbackOnly() method at context of the session. After this transaction should roll back in any case.
Sunday, January 20, 2002, 4:43:32 PM, you wrote: E> Please some help on the mail below ? E> I don't tell me that nobody can give me some advice on this issue ! ;) E> Eddie E> ----- Original Message ----- E> From: "Eddie Post" <[EMAIL PROTECTED]> E> To: "Orion-Interest" <[EMAIL PROTECTED]> E> Sent: Tuesday, January 15, 2002 5:03 PM E> Subject: NO rollback in method ?? >> Hellu, >> >> I perform a non-transactional action in a transactional session EJB method >> (I use CMP with Orion 1.5.2). How can I implement this method such that it >> is only submitted when a "commit" is performed ?? >> >> More details: >> I am sending a sms in a session method. In the "traditional" way I would >> send this sms when the transaction is commited. However I don't know how E> to >> accomplish this with CMP EJB's. >> >> Please some advice ? >> >> Eddie >> >> _________________________________________________________________ >> Get your FREE download of MSN Explorer at E> http://explorer.msn.com/intl.asp. >> >> >> -- Sergey G. Aslanov, CBOSS Group, Web-technologies department mailto:[EMAIL PROTECTED] tel: +7 095 7555655