Forum Discussion

cranium22's avatar
14 years ago

JDBC ORACLE THIN CLIENT CONNECTION STRING

What is the appropriate format to make a JDBC Connection via Oracle Thin Client Connection which uses a Service Name, not a SID, and also needs a password?

I've tried the following with no success.
jdbc:oracle:thin:<USER>@<HOST:127.0.0.1>:<PORT:1521>/<SID>
jdbc:oracle:thin:<USER><PASSWORD>@<HOST:127.0.0.1>:<PORT:1521>/<SID>

Regards

1 Reply

  • Hello,

    did you try

    jdbc:oracle:thin:USERNAME/PASSWORD@HOST:PORT:SID

    Regards,
    Vladimir
    SmartBear Software