JDBC Unity Catalog connections are now generally available
JDBC connections managed by Unity Catalog are now generally available, enabling secure read and write access to external databases.
O que mudou
JDBC connections in Unity Catalog allow you to access external databases securely using the Spark Data Source API or the Remote Query SQL API. The JDBC driver is loaded from a Unity Catalog volume to ensure isolation and security.
Use cases
Imagine you need to read data from a legacy database or write pipeline results to a system not supported by query federation. With this feature you can:
- Create a centralized connection with credentials hidden from querying users.
- Use custom JDBC drivers stored in Unity Catalog volumes.
- Perform read and write operations using the Spark API.
How to use
You can create a connection using SQL commands in Databricks SQL or notebooks.
CREATE CONNECTION oracle_connection TYPE JDBC
ENVIRONMENT (
java_dependencies '["/Volumes/my_catalog/my_schema/my_volume_JARs/ojdbc11.jar"]'
)
OPTIONS (
url 'jdbc:oracle:thin:@<host>:<port>:<SID>',
user '<oracle_user>',
password '<oracle_password>',
externalOptionsAllowList 'dbtable,query'
);
What happens in this code:
- The
CREATE CONNECTIONcommand registers the object in Unity Catalog. - The
java_dependenciesparameter points to the driver JAR file stored in a volume. - The
OPTIONSblock defines the connection URL, credentials, and allowed query-time options.
Limitations and requirements
- Generally available (GA) on serverless compute, Databricks Runtime 19 and above, and SQL warehouses 2025.40 and above.
- OAuth M2M authentication remains in Beta.
- Requires the
CREATE CONNECTIONprivilege on the metastore and read/write access to the Unity Catalog volume. - For serverless SQL warehouses, isolated workload networking must be enabled.
- unity catalog
- jdbc
- governance
- serverless
- sql warehouse
JDBC Unity Catalog connections are now generally available
Resumo e explicação gerados por IA a partir da release note oficial. Em caso de dúvida, a documentação oficial da plataforma prevalece.
Relacionadas
- DatabricksGA
Repositórios de pacotes em nível de workspace para Databricks Apps
Administradores de workspace podem configurar repositórios padrão de pacotes Python e npm para Databricks Apps.
databricks apps · workspace settings - DatabricksGA
Redimensione partições de stateful streaming sem perder o checkpoint no Databricks
Agora é possível alterar o número de partições de shuffle em queries Structured Streaming e pipelines Lakeflow sem descartar o estado do checkpoint.
structured streaming · lakeflow - DatabricksAtualização
Google Gemini 4 Argon disponível no Unity Gateway do Databricks
O modelo multimodal Google Gemini 4 Argon já pode ser acessado via Foundation Model APIs e Unity Gateway.
unity catalog · foundation model apis