Create Oracle DB Connection

Here we go!
Information that you need to know:

Database Connection is a configuration file where you define all the details of the Database. With a Database connection, you can read data from Database tables, perform SQL queries or insert records into Database tables.

Note: You can connect to any database for which you have connection details.

In this post, we will learn how create a Oracle Database Connection.

1.- We need to start the JDeveloper IDE.

2.- Click on File menu, then click on New option, followed immediately by Application option.

For Example:

3.- Then on the New Gallery window, choose Connections option in General Category, then choose Database Connection item.

For Example:

4.- Then on the Create Database Connection screen, choose Connections option in General Category, then choose Database Connection item.

For Example:

5.- Then we need to enter all the details of the Oracle Database.

Enter the following information:

Connection Name Your connection name, in this exercise we will leave the default value: Connection
Connection Type Oracle (JDBC)
Username Your username, in this exercise we will use the hr user
Password Your password, in this exercise we will use the hr password
Driver thin
Host Name Host name of the computer where Oracle Database 12c Release 1 (12.1) is installed
JDBC Port 1521
SID XE

Note: If the database is on the same computer, then for the Host Name parameter, enter localhost.

Click Test Connection. If the connection is successful, the word Success! is displayed in the Status field.

For Example:

Comments

Popular posts from this blog

SOA 12c - Fault Handling (Creating Fault Policies and Fault Bindings)

SOA 12c - FTP Adapter (List Files)

SOA 12c - DB Adapter (Perform an Operation on a Table)