private void addDriverAttributes(){
  buffer.append("    class='com.evermind.sql.DriverManagerDataSource' \n ");
  buffer.append("    connection-driver='" + ds.getDriverClass() + "'\n");
}

private void addDriverAttributes ( ) { buffer . append ( "    class='com.evermind.sql.DriverManagerDataSource' \n " ) ; buffer . append ( "    connection-driver='" + ds . getDriverClass ( ) + "'\n" ) ; }
adds the driver details necessary for normal datasource objects .
