aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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......"
 
Don't get me started about those stupid light bulbs.
 
subject: JDBC connection through a proxy