I'm trying to connect with oracle installed in different machine. I've oracle client installed in my machine. So i'm writing like this:
abcd is the dns name. My question is what i've to pass as parameter in the getConnection() method if the other machine has ip: 10.124.12.148 and port:8081.?
Annie Smith
Ranch Hand
Joined: Mar 05, 2005
Posts: 172
posted
0
If you have Oracle as the database, you should be using Oracle's type-4 driver instead of the ODBC bridge driver which is inherently limited.
Originally posted by imran quazi: what i've to pass as parameter in the getConnection() method if the other machine has ip: 10.124.12.148 and port:8081.?
your first place would be Java Doc to find your answer regarding signature of getConnection() method.