Code example for Driver

Methods: connect

    public Connection getConnection( String username, String password ) throws SQLException
        Properties connProperties = new Properties();
        connProperties.put( "user", m_jdbcUser );
        connProperties.put( "password", m_jdbcPassword );
        Connection connection = m_driver.connect( m_jdbcURL, connProperties );
        return connection;
     * Returns the login timeout for the data source. 
     * @return the login timeout, in seconds 
     * @see javax.sql.DataSource#getLoginTimeout() 
    public int getLoginTimeout() throws SQLException 
        return m_timeout;
Stop searching for code, let great code find you!  Add Codota to your java IDE