public void init(String url, String user, String pass, String driver) {
		this.driver = StrUtil.isNotBlank(driver) ? driver : DriverUtil.identifyDriver(url);
		try {
			Class.forName(this.driver);
		} catch (ClassNotFoundException e) {
			throw new DbRuntimeException(e, "Get jdbc driver [{}] error!", driver);
		}
		this.url = url;
		this.user = user;
		this.pass = pass;
	}
public void init ( String url , String user , String pass , String driver ) { this . driver = StrUtil . isNotBlank ( driver ) ? driver : DriverUtil . identifyDriver ( url ) ; try { Class . forName ( this . driver ) ; } catch ( ClassNotFoundException e ) { throw new DbRuntimeException ( e , "Get jdbc driver [{}] error!" , driver ) ; } this . url = url ; this . user = user ; this . pass = pass ; }
初始化

@param url jdbc url
@param user 用户名
@param pass 密码
@param driver JDBC驱动类，传入空则自动识别驱动类
@since 3.1.2