Play! 2 SQL Debugging
SQL errors are always a whole lot of fun to debug when you are working with an ORM . To help this, I always have my generated SQL statements logged during development. Add these two lines to your application.conf
`
db.default.logStatements=true
logger.com.jolbox=DEBUG
`
Short post, hope it helps.