java.lang.Object
io.opentelemetry.instrumentation.jdbc.internal.JdbcUtils

public final class JdbcUtils extends Object
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • Method Details

    • connectionFromStatement

      public static Connection connectionFromStatement(Statement statement)
    • unwrapConnection

      public static Connection unwrapConnection(Connection connection)
      Returns the unwrapped connection or null if exception was thrown.
    • extractDbInfo

      public static DbInfo extractDbInfo(Connection connection)
    • computeDbInfo

      public static DbInfo computeDbInfo(Connection connection)