Code example for Driver

Methods: connect

0
Connection con = null;
 
    // Create a Connection directly from the Driver that was loaded 
    // with the context class loader. This is to support JDK1.4 
    con = m_Driver.connect(m_url, m_ConnectionProtocol );
 
    return con;
  } 
 
  // Initialize the pool 
  /** 
   * 
   * @throws IllegalArgumentException 
   * @throws SQLException 
   */ 
  public synchronized void initializePool( )throws IllegalArgumentException, SQLException 
  { 
 
     // Check our initial values