2 Replies Latest reply on May 5, 2009 11:07 PM by ztiringer

    How do I write to the db from a seam webservice?

    alexgeorgescu

      I am having some issues on how to write to the database from a seam web service. I have tried different ways but I cannot seem to get this right. I can obtain an entityManager fine, but there is no transaction associated with it.


      Instead of me posting some code with errors, can someone point me to some information on how this is done? Specifically, how do I obtain an entityManager from seam in the context of a web service and how do I add a transaction so that I can write to the database.