@Test
  public void testResultSetRowProperties() throws SQLException {
	  Statement stmt = con.createStatement();
	  ResultSet res =
	      stmt.executeQuery("select * from "
	          + dataTypeTableName + " limit 1");
	  assertFalse(res.rowDeleted());
	  assertFalse(res.rowInserted());
	  assertFalse(res.rowUpdated());
  }
Validate the Metadata for the result set of a metadata getColumns call.
itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java