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)));
}

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 ) ) ) ; }
checks database metadata to see if a table exists . try upper , lower , and mixedcase , to see if the table is there .
