通过查看到开放JPA的网站我发现我可以利用日志生成的SQL如下:记录JPA SQL使用Weblogic 10.3
<property name="openjpa.Log" value="DefaultLevel=WARN, Runtime=INFO, Tool=INFO"/>
,如果我尝试上述属性添加到我的坚持.XML我从weblogic的得到以下警告:
<Warning> <J2EE> <BEA-160202> <You have specified a ope
njpa.Log setting in your configuration for persistence unit services.ear#services-ejb.jar#exp#exp. This setting will be ignored, and all log messages
will be sent to the WebLogic logging subsystem. Trace-level logging is controlle
d by the various JPA-specific debug settings in config.xml, or via the WebLogic
console.>
任何人都知道什么是在控制台选项或我如何编辑我的config.xml中输出的SQL?