Red Hat Bugzilla – Bug 971284
EJB2 Entities CMT handling fall back to default for Home methods even if a 'all method' element is added to the deployment descriptor
Last modified: 2017-07-25 03:22:52 EDT
Description of problem:
If the following element is added to the DS
The expectation is that ALL methods are executed with a new Tx in CMT.
In opposite to former versions, where this is true, here the Tx fall back to the default which is 'Required'.
This will have unexpected results during Migration.
A possible workaround is to add a extra container-transaction element and specify the <method-intf>LocalHome</method-intf> (RemoteHome should be avoided for different reasons).
But this will be a huge effort if the application contains a big number of such Entities.
Assigning email@example.com EJB issues to firstname.lastname@example.org. Please re-assign to Cheng or others as needed.
Closing as I was not able to reproduce the issue with 6.4.x branch.
Testcase showing <method-name>*</method-name> works for both instance and local home interfaces in CMP as well as BMP beans: