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
The log generation for EclipseLink seems quite difficult to set, according to this thread.
It mentions a persistence.xml file with log level you can adapt:
persistence.xml
But some other settings may be needed.
As Martin documents below, "EclipseLink/Examples/JPA/Logging" documents those properties.