private DBI createDBI ( ) throws Exception { if ( driver != null ) { Class . forName ( driver ) . newInstance ( ) ; } return new DBI ( url , user , password ) ; }
Creates the datasource config based on the provided parameters .