본문 바로가기

카테고리 없음

JDBC Connection URL SID vs service name

Oracle의 접속 Url  2가지 방법

SID Connection Url  : jdbc:oracle:thin:@[HOST][:PORT]:SID

아이디와 패스워드를 같이 쓸때 jdbc:oracle:thin:[USER/PASSWORD]@[HOST][:PORT]:SID

Service Name Connection Url : jdbc:oracle:thin:@//[HOST][:PORT]/SERVICE

아이디와 패스워드를 같이 쓸때 jdbc:oracle:thin:[USER/PASSWORD]@//[HOST][:PORT]/SERVICE