class_docstr: General hook for JDBC access.
  
  JDBC URL, username and password will be taken from the predefined connection.
  Note that the whole JDBC URL must be specified in the "host" field in the DB.
  Raises an airflow error if the given connection id doesn't exist.
  
  To configure driver parameters, you can use the following methods:
      1. Supply them as constructor arguments when instantiating the hook.
      2. Set the "driver_path" and/or "driver_class" parameters in the "hook_params" dictionary when
         creating the hook using SQL operators.
      3. Set the "driver_path" and/or "driver_class" extra in the connection and correspondingly enable
         the "allow_driver_path_in_extra" and/or "allow_driver_class_in_extra" options in the
         "providers.jdbc" section of the Airflow configuration. If you're enabling these options in Airflow
         configuration, you should make sure that you trust the users who can edit connections in the UI
         to not use it maliciously.
      4. Patch the ``JdbcHook.default_driver_path`` and/or ``JdbcHook.default_driver_class`` values in the
         ``local_settings.py`` file.
  
  See :doc:`/connections/jdbc` for full documentation.
  
  :param args: passed to DbApiHook
  :param driver_path: path to the JDBC driver jar file. See above for more info
  :param driver_class: name of the JDBC driver class. See above for more info
  :param kwargs: passed to DbApiHook
code: def get_conn(self) -> jaydebeapi.Connection:
      conn: Connection = self.get_connection(
          getattr(self, self.conn_name_attr)
      )
      host: str = conn.host
      login: str = conn.login
      psw: str = conn.password
  
      conn = jaydebeapi.connect(
          jclassname=self.driver_class,
          url=str(host),
          driver_args=[str(login), str(psw)],
          jars=self.driver_path.split(",")
          if self.driver_path
          else None,
      )
      return conn
  
file_path: airflow/airflow/providers/jdbc/hooks/jdbc.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any
  import jaydebeapi
  from airflow.providers.common.sql.hooks.sql import DbApiHook
label_desc: Use image node_id 6 for calling the JdbcHook obj's underlying member method code with example usage: obj.get_conn() and returns: conn