code: private java.sql.Driver registerDriver(String name) throws SQLException {
  		try {
  			java.sql.Driver d = (java.sql.Driver) Class.forName(name).newInstance();
  			DriverManager.registerDriver(d);
  			return d;
  		} catch (SQLException e) {
  			throw e;
  		} catch (Exception e) {
  			return null;
  		}
  	}
docs: Registers real driver through {@link java.sql.DriverManager}.
  
  @param name real driver class name
  @return instance of registered real driver
  @throws java.sql.SQLException if registration fails