question: public void testIntOptions ( ) throws Exception { DatabaseMetaData dbmd = con . getMetaData ( ) ; assertTrue ( "getDatabaseMajorVersion" , dbmd . getDatabaseMajorVersion ( ) >= 0 ) ; assertTrue ( "getDatabaseMinorVersion" , dbmd . getDatabaseMinorVersion ( ) >= 0 ) ; Assert . assertEquals ( "getResultSetHoldability" , ResultSet . HOLD_CURSORS_OVER_COMMIT , dbmd . getResultSetHoldability ( ) ) ; Assert . assertEquals ( "getSQLStateType" , 1 , dbmd . getSQLStateType ( ) ) ; Assert . assertEquals ( "getJDBCMajorVersion" , 3 , dbmd . getJDBCMajorVersion ( ) ) ; Assert . assertEquals ( "getJDBCMinorVersion" , 0 , dbmd . getJDBCMinorVersion ( ) ) ; }
target:  Test meta data function that return integer values.