Hello! I try to make sending an email transactional. In a stateless session bean I create a Mail-Entity instance (a data entry that persists the mail). In the server log an insert statment is logged. When I init a stateful session bean with the mail data. The stateful session implements SessionSynchronization and I send in the "beforeCompletion" method the mail. In the same method I update the Mail-Entity with the sending date. The problem is that this update does not happen (no update statment in server log). This runs all in the same transaction.
Is this a configuration problem? I use JBoss 4.02 on Java 5.0. Apropos creating new Entity Bean instances works in beforeCompletion! regards Sven View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922040#3922040 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922040 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
