(1)Oracle JDBC Thin using a ServiceName:
jdbc:oracle:thin:@//:/

    而PLSQL 同样,如果是双活库,TNS涉及两个scan域名,则选取主库scan域名,如:
      scan_primary:1521/pdbname_srv    ---12c,当然涉及双活切换,最好还是配置TNS才是最合理的@(3)

(2)Oracle JDBC Thin using an SID:br/>jdbc:oracle:thin:@::
通常以上的情况在单实例上比较常见

    (3) jdbc:oracle:thin:@