ejb 3.0 - entity manager lost from session when one methods calls another method without having @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) -
i have method mymethod in stateless bean, class , method has no @transactionattribute attribute specified. method calling method dao layer check if row exists in table, if exists mymethods creates string , sends jms update table, when set @transactionattribute(transactionattributetype.not_supported) on method works fine whereas when remove attribute does't work. using jta (container manager persistence) , application server swebsphere, database db2 , db updates through cobol only.
ejb-3.0
No comments:
Post a Comment