Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC connection through a proxy

 
Eoin Mac Aoidh
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

You can check out code mentioned below :




Hope it will give you some idea for resolving your issue...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic