mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add stat attribute
This commit is contained in:
@@ -19,6 +19,7 @@ public class JdbcStatContext {
|
||||
|
||||
private String name;
|
||||
private String file;
|
||||
private String sql;
|
||||
private String requestId;
|
||||
|
||||
private boolean traceEnable;
|
||||
@@ -59,4 +60,13 @@ public class JdbcStatContext {
|
||||
this.file = file;
|
||||
}
|
||||
|
||||
public String getSql() {
|
||||
return sql;
|
||||
}
|
||||
|
||||
public void setSql(String sql) {
|
||||
this.sql = sql;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user