⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 connectionparams.java

📁 数据库连接包括连接池。很有用的资料
💻 JAVA
字号:
/**
* @author  Rajat Gupta
* @version 1.0
*
* Development Environment        :  Oracle JDeveloper 10g
* Name of the Application        :  ConnectionParams.java
* Creation/Modification History  :
*
*    Rajat       25-Aug-2004      Created
*
* Overview of Application        : This class saves the Database Connection
*                                  Parameters. Update this file with your
*                                  database details.
**/

package oracle.otnsamples.connectioncache.attributes;

public class ConnectionParams {

  /**
   * Name of the machine where the database is running
   */
  public static String serverName = "insn104a.idc.oracle.com";

  /**
   * SID of the database
   */
  public static String sid = "orcl";

  /**
   * Port on which the database is listening
   */
  public static int portNo = 1521;

  /**
   * User Name of the schema. Please leave this as scott.
   */
  public static String userName = "scott";

  /**
   * Password of the scott schema
   */
  public static String password = "tiger";

  /**
   * Type of the driver to be used to connect to the database.
   */
  public static String driverType = "thin";
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -