This is the contents of my persistence.xml file:
<persistence>
<persistence-unit name="ipost">
<jta-data-source>blabla</jta-data-source>
<properties>
<property name="toplink.logging.level" value="FINEST"/>
<property name="toplink.logging.exceptions" value="true"/>
</properties>
</persistence-unit>
</persistence>
So obviously the logging level should allow writing out generated queries.
Of course, it could be that this file is not deployed at all. I'm not really
familiar with the deploy mechanism of the application, but this seems to be
the only persistence.xml file within the application, and it's located in a
directory called "desc", which tells me it's the place where deployment
descriptors should be.
Can Toplink work without a persistence.xml file? Is there a way to find out
if this file is being used at all?
--
View this message in context: http://www.nabble.com/How-to-display-Toplink%27s-generated-query--tp15892878p15899310.html
Sent from the java.net - glassfish persistence mailing list archive at Nabble.com.