Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem using Oracle Thin Driver

Status
Not open for further replies.

pjeypal

Programmer
Apr 17, 2006
36
US
Hi

I am using ORacle thin driver to establish connection to Oracle 9.0.1 but found that the connection is extremely slow and i have problems accessing table in database. Does anyone have the coding for using oracle thin driver with oracle 9.0.1

This is my coding

Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con = DriverManager.getConnection("jdbc:eek:racle:thin:mad:"+_sSID+":"+_sPort+":"+_sServer, _sUsername, _sPassword);


Thanks
Priya
 
That code is how you connect correctly.
If the connection is slow, it is more likely one of the following :

1) Network problems - slow/overloaded/poor connectors
2) DB is overloaded
3) Client computer is slow

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top