第一:jdbcUrl 链接方式
格式一: Oracle JDBC Thin using an SID
jdbc:oracle:thin:@host:port:SID
例如: jdbc:oracle:thin:@localhost:1521:orcl
格式二: Oracle JDBC Thin using a ServiceName
jdbc:oracle:thin:@//host:port/service_name
例如: jdbc:oracle:thin:@//localhost:1521/orcl.city.com
格式三:Oracle JDBC Thin using a TNSName
jdbc:oracle:thin:@TNSName
例如: jdbc:oracle:thin:@TNS_ALIAS_NAME
第二:driverClass 链接方式
oracle.jdbc.driver.OracleDriver
最后修改于 2020-04-26 10:17:12
如果觉得我的文章对你有用,请随意赞赏
扫一扫支付

