By looking into the Open JPA website i've found that i can log the generated SQL by using the following:
<property name="openjpa.Log" value="DefaultLevel=WARN, Runtime=INFO, Tool=INFO"/>
If i try to add the above property to my persistence.xml i get the following warning from 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.>
Anyone know what is the option in the console or how i can edit my config.xml to output the SQL?