Sometimes you just need to see what is going on. There are various ways in which logging can be enabled, here are some ideas.
WEB-INF/logging.properties (a log4j config file)
As per the DN logging page
Configure log4jdbc JDBC rather than the vanilla driver (see
WEB-INF/persistor_datanucleus.properties) and configure log4j logging (see
There are examples of both in the quickstart archetype.
;sqllog=3 to the end of the JDBC URL.
log_statement = 'all'
Will then log to
Note that you must restart the service for this to be picked up.
Use the excellent SQL Profiler tool.
All edits are reviewed before going live, so feel free to do much more than fix typos or links. If you see a page that could benefit from an entire rewrite, we'd be thrilled to review it. Don't be surprised if we like it so much we ask you for help with other pages :)NOTICE: unless indicated otherwise on the pages in question, all editable content available from apache.org is presumed to be licensed under the Apache License (AL) version 2.0 and hence all submissions to apache.org treated as formal Contributions under the license terms.