-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connect to Oracle 18c/19c Autonomous databases through wallets #6912
Comments
FYI you can already connect using wallets, this is actually an old jdbc feature that is more common now because of the 18c/19c release and the Autonomus Cloud security arrangement. All you need to do is use the 18c/19c drivers and configure the driver properties manually. In my case the property oracle.net.wallet_location, which I got from the ojdbc.properties file inside the wallet zip. Perhaps a gui wallet inclusion is needed, but if you need to connect to such databases as of now you can. |
@glima34 how do you achieved that? I'm still trying to figure out how to connect with dbeaver using wallet. I'm able to connect from toad but not form dbeaver |
@jorgefloresesc You just have to unzip the wallet and in "Connection settings" select "Custom" and write the url like this: jdbc:oracle:thin:@?TNS_ADMIN=<path_to_unzipped_wallet> For example: jdbc:oracle:thin:@myservice_tp?TNS_ADMIN=/app/config/wallets/WalletCloud |
@xyu-r0nin- Hi, thanks for your reply. This is what I'm getting using your example: BTW, I'm using windows. |
@jorgefloresesc Are you sure the name of the service is OCIDWQ01 Open the file tnsnames.ora that is inside the wallet and see what are the names of the services: |
Man, i had the same problem. Make sure you are using driver version 18.3 instead of 12.2.0.1 thanks @xyu-r0nin- for the solution.. u rock !! |
Hi @ mindhub-jean, I'm glad it worked for you. I did several tests and I can confirm that this solution applies for ojdbc from version 18.3 to version 19.6. With 19.7 it doesn't work |
Download jars from https://download.oracle.com/otn/utilities_drivers/jdbc/183/ojdbc8-full.tar.gz |
had a difficult time with the above suggestions but at least it showed me that there has to be a way since it worked for others. but it's in Chinese characters so using google translate thanks to Kamus for writing that |
In case it helps anyone, I followed this tutorial: https://docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/connect-jdbc-thin-wallet.html And had to manually specify the JDBC drivers and security libraries: Alternatively, even better, add this dependency (once #13048 is resolved): Which will download all the transitive dependencies: |
Facing the same problem as others here. I was able to make it work just for driver versions (Additional note: I found out a bit later on this Oracle article) that version |
Is this supported in the DBeaver Community edition? |
Sure @RWagner2021, I'm working with DBeaver CE. Everything I have written applies to it. |
Is your feature request related to a problem? Please describe.
DBeaver does not currently support the creation of connections to 18c / 19c databases using Oracle wallets
Describe the solution you'd like
It would be great if DBeaver allows you to create connections to Oracle 18c and 19c databases using wallets or jks files:
Java Connectivity with Autonomous Database (ATP or ADW) using 19c and 18.3 JDBC
Describe alternatives you've considered
Implement the use of wallets or jks files
Additional context
This is how the connection is configured in SQL Developer 19.2:
This is the content of Wallet.zip
The text was updated successfully, but these errors were encountered: