I want to examine what SQL statements are generated by Ebean to find out why certain exceptions (related to SQL syntax) are occurring in my Play 2.0 application. Is
You can enable SQL logging by using the following statement
Ebean.getServer(null).getAdminLogging().setDebugGeneratedSql(true);
Use this command in the onRequest interceptor for example
In a next release, you will certainly be able to configure this in the file ebean.properties.
// Tips : use Play.isDev() to log only in dev mode