0 Replies Latest reply on Aug 15, 2007 5:55 AM by Nicklas Karlsson

    Dynamic database user?

    Nicklas Karlsson Master

      Hi,

      There is the DataSource.getConnection(username, password) but when using JPA, is there any way of doing a run-time change of the database user?

      EntityManagerFactory has a setPersistenceUnitProperties(Map) but that is probably at too high a level(?)