Forum Discussion
Trying to connect to an Oracle database
- Anonymous2 years ago
I solve that problem with this way.
Upload the .jar to a folder on the LakeGo to Workspace settings > Data Engineering/Science > Spark settings > Environment.
Create a default environment
In the value field, put the address to the .jar
And don't forget to change the environment on the notebook.
I solve that problem with this way.
Upload the .jar to a folder on the Lake
Go to Workspace settings > Data Engineering/Science > Spark settings > Environment.
Create a default environment
In the value field, put the address to the .jar
And don't forget to change the environment on the notebook.
Hello Anonymous
Are you using On-premise Oracle? I tried your solution but it is still failing.
Py4JJavaError: An error occurred while calling o4896.load. : java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:489) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:553) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:254) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)