This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes JDBC connection through a proxy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC connection through a proxy" Watch "JDBC connection through a proxy" New topic
Author

JDBC connection through a proxy

Eoin Mac Aoidh
Ranch Hand

Joined: May 19, 2005
Posts: 48
Hi,
I have been successfully connecting to a remotely hosted Oracle DB for some time using the code below. However, my local circumstances have changed now, in that I must now make all my connections through a proxy. I cannot figure out how to update my code to connect to the DB through the proxy so that the connection will be allowed. Im convinced its something very simple like just adding a proxy variable to the connection code, but I cant get it right! Any help on this greatly appreciated.
Thanks,

E

ujjwal soni
Ranch Hand

Joined: Mar 28, 2007
Posts: 403
Hi,

You can check out code mentioned below :




Hope it will give you some idea for resolving your issue...


Cheers!!!
Ujjwal B Soni <baroda, gujarat, india> <+919909981973>
"Helping hands are better than praying lips......"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC connection through a proxy
 
Similar Threads
JDBC Connection
Exception while connecting to an Oracle database
Database newbie question about logging in
Oracle Drivers
a little confused!