I want to output the SQL generated by EclipseLink to the console, during development. However, I could only do so using the logging level FINE. I have a complex domain model
Put the following properties in your persistence.xml:
persistence.xml
The latter is helpful, so that the values of the parameter are shown.
An alternative is using log4jdbc or log4jdbc-remix.