Class JdbcUtils
- java.lang.Object
-
- io.opentelemetry.instrumentation.jdbc.internal.JdbcUtils
-
public final class JdbcUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DbInfocomputeDbInfo(Connection connection)static ConnectionconnectionFromStatement(Statement statement)Returns the unwrapped connection or null if exception was thrown.static DbInfoextractDbInfo(Connection connection)
-
-
-
Method Detail
-
connectionFromStatement
public static Connection connectionFromStatement(Statement statement)
Returns the unwrapped connection or null if exception was thrown.
-
extractDbInfo
public static DbInfo extractDbInfo(Connection connection)
-
computeDbInfo
public static DbInfo computeDbInfo(Connection connection)
-
-