Connecting Oracle Server using JDBC
There is a small difference of the connection string when the target is SID or SERVICE
Colon means SID
Slash means Service name
jdbc:oracle:driver_type:[username/password]@//host_name:port_number:SID_NAME
jdbc:oracle:driver_type:[username/password]@//host_name:port_number/SERVICE_NAME
Colon means SID
Slash means Service name
Comments
Post a Comment