> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# atoti_directquery_jdbc

Code to use DirectQuery through [JDBC](https://en.wikipedia.org/wiki/Java_Database_Connectivity).

<Note>
  For better performance, prefer database-specific connectors when available.
  For instance, to connect to ClickHouse, use [`atoti_directquery_clickhouse`](./atoti_directquery_clickhouse#module-atoti_directquery_clickhouse).
</Note>

| [`ConnectionConfig`](./atoti_directquery_jdbc.connection_config#atoti_directquery_jdbc.ConnectionConfig) | Config to connect to an external database through JDBC.                                                         |
| -------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| [`TableConfig`](./atoti_directquery_jdbc.table_config#atoti_directquery_jdbc.TableConfig)                | Config passed to [`add_external_table()`](./atoti.Session.add_external_table#atoti.Session.add_external_table). |
