public class SQLStatementTrace extends CodeBlockTrace
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
context |
ancestorTypes, beginTimeMillis, children, childrenElapsedTimeMillis, dateFormat, endTimeMillis, id, parent, RUNTIME_CONTRAINTS_ENABLED, runtimeConstraints| Constructor and Description |
|---|
SQLStatementTrace(String sql) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getContext() |
String |
getDescription() |
CodeBlockType |
getType() |
static String |
stripAfterWhere(String sql)
To group sensibly and to avoid recording sensitive data, Don't record the where clause
(only used for dynamic SQL since parameters aren't included in prepared statements)
|
addChild, addRuntimeConstraint, begin, checkRuntimeConstraints, end, equals, getAncestorTypes, getBeginTimeMillis, getChildren, getChildrenElapsedTimeMillis, getDescendants, getElapsedTimeMillis, getEndTimeMillis, getId, getLevel, getParent, getSelfTimeMillis, getThreadProfile, hashCode, isDescendantOfType, isRunning, printContext, printContext, printContext, printIndent, printMap, printMap, removeChild, setAncestorTypes, setBeginTimeMillis, setChildren, setEndTimeMillis, setId, setParent, setThreadProfile, toPlainList, toStringpublic SQLStatementTrace(String sql)
public CodeBlockType getType()
getType in class CodeBlockTracepublic String getDescription()
getDescription in class CodeBlockTracepublic Map<String,Object> getContext()
getContext in class CodeBlockTraceCopyright © 2012–2016 JBoss by Red Hat. All rights reserved.