public static String getResultSetCloseString ( int value ) { switch ( value ) { case Statement . CLOSE_ALL_RESULTS : return "CLOSE ALL RESULTS (" + value + ' ' ; case Statement . CLOSE_CURRENT_RESULT : return "CLOSE CURRENT RESULT (" + value + ' ' ; case Statement . KEEP_CURRENT_RESULT : return "KEEP CURRENT RESULT (" + value + ' ' ; } return "UNKNOWN CLOSE RESULTSET CONSTANT (" + value + ' ' ; }
Display the java . sql . Statement ResultSet close constant corresponding to the value supplied .