@ Override public String getDriverClassNameForDatabase ( DatabaseType databaseType ) { Assert . notNull ( databaseType , "databaseType must not be null" ) ; String candidate = this . getDriverClassNameMappings ( ) . get ( databaseType ) ; Assert . notNull ( candidate , String . format ( "No driver class name found for database :'%s'" , databaseType . name ( ) ) ) ; return candidate ; }
Returns the driver class for the database platform .