接続文字列の形式は、jdbc:oracle:<drivertype>:@<database>です。 (例:jdbc:oracle:thin:@host:1521:xe )。
呼び出しでユーザーとパスワードを渡すことができます:DriverManager.getConnection("<connection string>", "<user>", "<password>"); または接続文字列内:jdbc:oracle:<drivertype>:<user>/<password>@<database> (例:jdbc:oracle:thin:scott/example@sqldat.com:1521:xe 。