This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC connection through a proxy" Watch "JDBC connection through a proxy" New topic

JDBC connection through a proxy

Eoin Mac Aoidh
Ranch Hand

Joined: May 19, 2005
Posts: 48
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.


ujjwal soni
Ranch Hand

Joined: Mar 28, 2007
Posts: 403

You can check out code mentioned below :

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

Ujjwal B Soni <baroda, gujarat, india> <+918866008962>
"Helping hands are better than praying lips......"
I agree. Here's the link:
subject: JDBC connection through a proxy
It's not a secret anymore!