question: public boolean tableExists ( DatabaseMetaData dbMetaData , String tableName ) throws SQLException { return ( tableExistsCaseSensitive ( dbMetaData , tableName ) || tableExistsCaseSensitive ( dbMetaData , tableName . toUpperCase ( Locale . US ) ) || tableExistsCaseSensitive ( dbMetaData , tableName . toLowerCase ( Locale . US ) ) ) ; }
target:  Checks database metadata to see if a table exists. Try UPPER, lower, and MixedCase, to see if the table is there.