I am writing a small DB utility. I would like to give the user the ability to open an instance of Oracle sqldeveloper directly from this utility. Is it possible to open Oracle sqldeveloper IDE that already connected to a specific DB?
Something like sqldeveloper USERID/PASSWORD@DATABASE
Luckily, yes. This is now possible using Oracle's ConnectionHelper extension.
It's a bit of hacky workflow, though. Hopefully they'll figure out a way to include in SQLDeveloper itself, because if management learns about adding a 'githubusercontent' repo they might misjudge the risks.
Also, be sure you make use of a pretty recent SQLDeveloper (20.2+).
But here goes:
https://raw.githubusercontent.com/bjeffrie/sqldev-update-center/master/update-center.xml
sqldeveloper -myCLIconnection=user/pw@host:port/service
[This is a combination of what's documented by Oracle's thatjeffsmith on his blog and what Oracle's Brian Jeffries put in Oracle's github repo.]
This is now possible with a free, open-source extension as long as you're using version 20.2 or higher of SQL Developer.
I have step-by-step instructions here
A quick GIF of it working...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With