Connection Code For JDBC - Online Code

Description

NOTE:If your using oracle11g the port service name=server oracle10g express edition then Service name=XE depending upon ur oracle version service Name will be changed..... Here Type 4 driver is i am used...........

Source Code

import java.sql.*;
class ConnectionDB{
public static void main(String args[])throws Exception{
Class.forName("oracle.jdbc.driver.OracleDriver");
System.out.println("Driver Loaded");
Connection con=Driv
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.

Related Online Codes:




Comments

No comment yet. Be the first to post a comment.