You can see SQL statements being executed in the application log (build/tomcat/logs/app.log) if you set “eclipselink.sql” logger to “DEBUG”. You can do it in Administration > Server Log > Options or directly in tomcat/conf/logback.xml.
See also Setting up Logging in Tomcat - CUBA Platform. Developer’s Manual