private void validateTableMetaDataNoRow(String tableNamePattern,String[] types) throws Exception {
  try (ResultSet tables=dbmd.getTables(null,null,tableNamePattern,types)){
    assertFalse(String.format("Expected empty result set for requesting %s with types %s",tableNamePattern,Arrays.toString(types)),tables.next());
  }
 }

private void validateTableMetaDataNoRow ( String tableNamePattern , String [ ] types ) throws Exception { try ( ResultSet tables = dbmd . getTables ( null , null , tableNamePattern , types ) ) { assertFalse ( String . format ( "Expected empty result set for requesting %s with types %s" , tableNamePattern , Arrays . toString ( types ) ) , tables . next ( ) ) ; } }
helper method for test methods that retrieve metadata expecting no results .
