public static boolean isValidObjectName(@Nullable String name){
  if (name == null || name.isEmpty()) {
    return false;
  }
  boolean validName=false;
  for (int i=0; i < name.length(); i++) {
    if (Character.isLetterOrDigit(name.charAt(i))) {
      validName=true;
      break;
    }
  }
  return validName;
}

public static boolean isValidObjectName ( @ Nullable String name ) { if ( name == null || name . isEmpty ( ) ) { return false ; } boolean validName = false ; for ( int i = 0 ; i < name . length ( ) ; i ++ ) { if ( Character . isLetterOrDigit ( name . charAt ( i ) ) ) { validName = true ; break ; } } return validName ; }
checks that object has valid object name . some db objects have dummy names ( like " " or " . " ) - we won ' t use them for certain purposes .
