Hi, I am relative new to EJB and need some help. Maybe you can give me some pointers.
Consider this scenario: - Stateless Session Facade with transaction "Required" - Facade inserts CMP-EJB #1 - Facade does something else and throws an exception - Transaction should (?!) roll back - Data of CMP-EJB #1 still in DB If I understand transactions correctly, the last should never happen since the transaction is rollbacked. Some more basic questions: 1. If a method in a stateless session bean is set to Transaction "Required" and throws and exception, does it really rollback the current transaction? 2. How can I assure that a transaction is rollbacked if the answer to 1. is "No"? 3. If I modify an EJB and an transaction is thrown, will this modification be rollbacked? 4. If the answer to 3. is "No", what the &%$ do transactions in EJBs really do? Regards, Maik View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838651#3838651 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838651 ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user