From b14b3ce65a51d9645c16ff7e9f3e4238282bc761 Mon Sep 17 00:00:00 2001 From: Nicolas Adment <39568358+nadment@users.noreply.github.com> Date: Thu, 22 Aug 2024 21:46:00 +0200 Subject: [PATCH] Add doc for Oracle connection with TNS_ADMIN #4225 --- .../modules/ROOT/pages/database/databases/oracle.adoc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/hop-user-manual/modules/ROOT/pages/database/databases/oracle.adoc b/docs/hop-user-manual/modules/ROOT/pages/database/databases/oracle.adoc index bb266070377..a9d0834104d 100644 --- a/docs/hop-user-manual/modules/ROOT/pages/database/databases/oracle.adoc +++ b/docs/hop-user-manual/modules/ROOT/pages/database/databases/oracle.adoc @@ -38,7 +38,7 @@ Check xref:database/databases.adoc#_options[Options] in the Relational Database == Creating connections -There are 3 ways to create a connection to an Oracle database in Apache Hop: +There are 4 ways to create a connection to an Oracle database in Apache Hop: * If you have a SID, use this (old) format: `jdbc:oracle:thin:@hostname:PORT:SID`. + Put the SID with `:` prefix in the database name @@ -47,4 +47,7 @@ Put the SID with `:` prefix in the database name Put the service name with `/` prefix in the database name * If you want to use TNS format: `jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=host) (PORT=port)) (CONNECT_DATA=(SERVICE_NAME=service_name))`. + -Put the TNS description in the database name and leave the hostname and port empty. \ No newline at end of file +Put the TNS description in the database name and leave the hostname and port empty. + +* If you want to use a specific TNS_ADMIN, you providing the path for tnsnames.ora through TNS_ADMIN property: `jdbc:oracle:thin:@mydb.mydomain?TNS_ADMIN=C:\\Temp\\tns` + +Use manual connection url (not the options tab because Apache Hop does not pass options in the url for Oracle). \ No newline at end of file