1. SID的方式。已经不推荐使用这种方式了。

jdbc:oracle:thin:[<user>/<password>]@<host>[:<port>]:<SID>

 

2.Service Name的方式。

jdbc:oracle:thin:[<user>/<password>]@//<host>[:<port>]/<service>

 

3.TNSNames 的方式。

jdbc:oracle:thin:[<user>/<password>]@<TNSName>

 

相关文章:

  • 2022-01-14
  • 2022-12-23
  • 2021-11-21
  • 2021-10-05
猜你喜欢
  • 2021-11-10
  • 2022-12-23
  • 2022-12-23
  • 2021-10-02
  • 2021-05-04
  • 2022-12-23
  • 2021-11-24
相关资源
相似解决方案