Connection getSingleConnection() {
        Connection connection = null;
        try {
            Class.forName(driver);
            connection = DriverManager.getConnection(url, user, password);
        } catch (SQLException e) {
            throw new InitializationException("Could not initialize the connection", e);
        } catch (ClassNotFoundException e) {
            throw new InitializationException("Could not find the driver class", e);
        }
        return connection;
    }
Connection getSingleConnection ( ) { Connection connection = null ; try { Class . forName ( driver ) ; connection = DriverManager . getConnection ( url , user , password ) ; } catch ( SQLException e ) { throw new InitializationException ( "Could not initialize the connection" , e ) ; } catch ( ClassNotFoundException e ) { throw new InitializationException ( "Could not find the driver class" , e ) ; } return connection ; }
Gets the connection.

@return the connection