I am currently reading something about Container-Managed transactions (CMT). So, I had this program where I used methods like persist, find, getTransaction and so on on the entity manager. Now I read:
"Enterprise beans that use CMT must not use any transaction-management methods"
Furthermore, I read about the transaction attribtues that you write at an annotation of a method.
How do I persist data without using the transaction-management method persist?
Aucun commentaire:
Enregistrer un commentaire