Using the jboss integration code it appears that exceptions are swallowed when the session is flushed/closed.
Code:
try
{
log.trace("Flushing Session");
session.flush();
}
catch(Throwable t)
{
log.warn("Error flushing session");
}
I realize that the Synchronization interface does not allow checked exceptions here, but it is not really acceptable to just swallow the exception and have the EJB client think that everything executed correctly.
This really needs to be addressed, could a RuntimeException be thrown.
Ben