Quantcast
Channel: Go4Expert
Viewing all articles
Browse latest Browse all 1989

Connect JDBC Application with Oracle Database

$
0
0
To connect Java Application with Oracle database :

To connect Java Application with Oracle 10g you need to follow following steps :

Create the database for eg. Create the database of the employee as tablename emp.

create table emp(id number(10),name varchar2(40),age number(3));

1. Load the driver class : Driver class for the oracle database is :
oracle.jdbc.driver.OracleDriver.

2. Create the Connection object :The connection URL for the oracle10G database is...

Connect JDBC Application with Oracle Database

Viewing all articles
Browse latest Browse all 1989

Trending Articles