JDBC URL:oracle
一、ServiceName方式:jdbc:oracle:thin:@//<host>:<port>/ServiceName集羣
若是是集羣,不知道爲何是在配置文件裏面沒效果,直接寫在代碼就能夠配置
二、SID方式:jdbc:oracle:thin:@<host>:<port>:<SID>jdbc