#1857 Add bind values capture for SlowQueryEvent / SlowQueryListener

- changes SqlQueryEvent into an interface.
- captures the bind values the slow query used and makes those available via SlowQueryEvent
- also makes the query label and profileLocation available via SlowQueryEvent
This commit is contained in:
Rob Bygrave
2024-03-25 22:52:04 +13:00
parent ab45ad34e0
commit 40d9c88e34
49 changed files with 349 additions and 156 deletions
@@ -4,6 +4,7 @@ ebean.ddl.initSql=init-db.sql
ebean.dumpMetricsOnShutdown=true
ebean.dumpMetricsOptions=sql,hash,loc
ebean.includeLabelInSql=true
ebean.slowQueryMillis=1
datasource.default=h2