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>