public void setDriverClassName ( String driver ) { try { this . driver = ( Driver ) Class . forName ( driver ) . newInstance ( ) ; } catch ( Exception e ) { throw new RuntimeException ( "Unable to load driver: " + driver , e ) ; } }
sets the driver class name . This is used in conjunction with the JDBC connection string