Skip to Main Content

Simple url format for tcps?

DmboraclAug 28 2008 — edited Aug 30 2008
Hi folks,

i see that if you want to use ssl from the thin driver you can do

String url = "jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=servername)(PORT=2484))(CONNECT_DATA=(SERVICE_NAME=servicename)))");


But up till this point we have been using the simplified url format, as such:

String url = "jdbc:oracle:thin:@servername:1521:servicename";

Is there a way to specify tcps using the simplified url format?
Comments
Post Details
Added on Aug 28 2008
1 comment
1,141 views