0 Replies Latest reply on May 4, 2007 4:29 AM by Anthony Landrevie

    How to change database user

    Anthony Landrevie Newbie


      I'm trying to change the database user dynamically in an session ejb but it fails.
      Does anyone know how to do this?

      If I declare many entity manager it works but I can't declare one entity manager per user. I'd like to dynamically create an appropriate entity manager.

      Best regards,