View | Details | Raw Unified | Return to bug 46298
Collapse All | Expand All

(-)java/org/apache/catalina/realm/JDBCRealm.java (+3 lines)
Lines 699-704 Link Here
699
        if (connectionPassword != null)
699
        if (connectionPassword != null)
700
            props.put("password", connectionPassword);
700
            props.put("password", connectionPassword);
701
        dbConnection = driver.connect(connectionURL, props);
701
        dbConnection = driver.connect(connectionURL, props);
702
        if (driver == null)
703
            throw new SQLException("Driver " + driverName 
704
                + " does not support the URL " + connectionURL);
702
        dbConnection.setAutoCommit(false);
705
        dbConnection.setAutoCommit(false);
703
        return (dbConnection);
706
        return (dbConnection);
704
707

Return to bug 46298