Class PreparedStatementTracing
java.lang.Object
org.apache.skywalking.apm.plugin.jdbc.trace.PreparedStatementTracing
PreparedStatementTracing create an exit span when the client call the method in the class that extend PreparedStatement.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <R> Rexecute(PreparedStatement realStatement, ConnectionInfo connectInfo, String method, String sql, PreparedStatementTracing.Executable<R> exec, StatementEnhanceInfos statementEnhanceInfos)
-
Constructor Details
-
PreparedStatementTracing
public PreparedStatementTracing()
-
-
Method Details
-
execute
public static <R> R execute(PreparedStatement realStatement, ConnectionInfo connectInfo, String method, String sql, PreparedStatementTracing.Executable<R> exec, StatementEnhanceInfos statementEnhanceInfos) throws SQLException - Throws:
SQLException
-