I have one EJB with 2 exposed methods. The first has Transaction Attribute Supports and the second required. The first will call the second. Here comes the question:
When I open a connection in the first and supply it as a parameter to the second, should this connection be enlisted in the newly started transaction?
In jboss 4.0.1 this does not happen, the connection is even set to auto-commit (as is ok for Supports). The spec does not cover such a case and I would like to know the defined behaviour.