User`s guide
2 Getting Started with Database Toolbox
2-54
2
Close the connection using Database Explorer by hovering the cursor over the Close
button ( ) next to the ORA JDBC data source name on the database tab. The
Close button turns into a red circle ( ). Click it to close the database connection. If
you want to close Database Explorer and all database connections, click the Close
button ( ) in the top-right corner.
If Database Explorer is docked, click the Close button ( ) to close all database
connections and Database Explorer.
Connect to Oracle using the JDBC connection command line.
When using the command line, you do not have to set up a data source with Database
Explorer. You can use the command line to pass all the required parameters for
connection.
1
To connect with Windows authentication, use the Vendor name-value pair argument
of database to specify a connection to an Oracle database. Use the DriverType
name-value pair argument to connect with Windows authentication by specifying the
oci value. Specify a blank user name and password. For example, the following code
assumes you are connecting to a database named dbname, database server named
sname, and port number 123456.