Is the below requirement for the application or the container?
"
8.3.4 Enterprise Beans Using Container-Managed Transaction Demarcation
This subsection describes the requirements for the Bean Provider of an
enterprise bean using container-managed transaction demarcation.
The enterprise bean’s business methods, message listener methods,
business method interceptor methods, lifecycle callback interceptor
methods, or timeout callback methods must not use any resource-manager
specific transaction management methods that would interfere with the
container’s demarcation of transaction boundaries. For example, the
enterprise bean methods must not use the following methods of the
java.sql.Connection interface: commit, setAutoCommit, and rollback; or
the following methods of the javax.jms.Session interface: commit and
rollback.
"
IMO, I think that the requirement is on the application code and not the
container.
On 02/24/2014 02:44 PM, Eduardo Martins wrote:
I'm waiting to hear back from the Spring user but think that they will
likely be able to solve it via existing Spring support for JTA. For the
Spring case, the user might not of noticed the (using UT in CMT) problem
if it was just a warning but we can't have it both ways.
—E
_______________________________________________
wildfly-dev mailing list
wildfly-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/wildfly-dev