Three methods of connecting jdbc oracle

Three methods of connecting jdbc oracle

  1. Use service_name, configuration: JDBC: Oracle: Thin: @ // <Host>: <Port> / <SERVICE_NAME>
  2. Use SID, configuration: JDBC: Oracle: Thin: @ <Host>: <Port> / <the SID> 
  3. Use SID, configuration: JDBC: Oracle: Thin: @ <Host>: <Port> : <the SID> 

Guess you like

Origin www.cnblogs.com/zhuitian/p/11530703.html