I came across a piece of code where the bean implementation class has @TransactionManagement(TransactionManagementType.BEAN) annotation wherein methods are annotated with CMT @TransactionAttribute. Is is valid? I am puzzled?
Can an EJB with BMT persistence use CMT transaction annotation? What will be the behavior at runtime?
Thanks in advance.
She's brilliant. She can see what can be and is not limited to what is. And she knows this tiny ad: