#1672 - ENH: Add ebean.dumpMetricsOnShutdown=true ... for dumping metrics

This commit is contained in:
rob bygrave
2019-04-12 00:45:00 +12:00
parent 4f4743807c
commit 30ae435f33
15 changed files with 415 additions and 64 deletions
@@ -26,7 +26,7 @@ public abstract class QueryPlanLogger {
}
protected DQueryPlanOutput createPlan(CQueryPlan plan, String bind, String planString) {
return new DQueryPlanOutput(plan.getBeanType(), plan.getLabel(), plan.getSql(), bind, planString);
return new DQueryPlanOutput(plan.getBeanType(), plan.getName(), plan.getSql(), bind, planString);
}
DQueryPlanOutput readQueryPlanBasic(CQueryPlan plan, BindCapture bind, ResultSet rset) throws SQLException {