有没有一种方法来初始化EntityManager没有定义的持久性单元?您能否提供创建实体管理器所需的所有属性?我需要EntityManager在运行时从用户的指定值创建.不能更新persistence.xml和重新编译.
关于如何做到这一点的任何想法都受到欢迎!
SKIP TO UPDATE 3
I want to enable the Seam debug page on Weblogic 10.3.2 (11g). So, I have done the following:
I have the jboss-seam and jboss-seam-debug jars as dependency in both my ejb and web maven projects (both are modules of my superproject) I put this context parameter in my web.xml:
<context-param>
<param-name>org.jboss.seam.core.init.debug</param-name>
<param-value>true</param-value>
</context-param>
Run Code Online (Sandbox Code Playgroud)
Now, when I hit the URL of my application, I get the debug page with this exception (full stacktrace at the end of …