bookmark

OracleDriver (Oracle ® Database JDBC API Reference)


Description

The following example connects user scott with password tiger to a database with SID orcl through port 1521 of host myhost, using the Thin driver.

Connection conn = DriverManager.getConnection ("jdbc:oracle:thin:@myhost:1521:orcl", "scott", "tiger")

Preview

Tags

Users

  • @jil

Comments and Reviews