oracle三种连接方式

    #(1)Oracle JDBC Thin using a ServiceName:
    #jdbc:oracle:thin:@//<host>:<port>/<service_name>
    #Example: jdbc:oracle:thin:@//192.168.2.1:1521/XE
    #(2)Oracle JDBC Thin using an SID:
    #jdbc:oracle:thin:@<host>:<port>:<SID>
    #Example: jdbc:oracle:thin:@192.168.2.1:1521:X01A
    #(3)Oracle JDBC Thin using a TNSName:
    #jdbc:oracle:thin:@<TNSName>
    #Example: jdbc:oracle:thin:@GL

猜你喜欢

转载自blog.csdn.net/huweijian5/article/details/78752462