get an integer that is returned as a result of a query . concode_field_sep PlaceHolder placeHolder concode_field_sep Connection openDBConnection concode_elem_sep String testConnection concode_elem_sep void closeDBConnection concode_elem_sep Connection openDBConnectionSQL concode_elem_sep void executeUpdate concode_elem_sep void executeUpdate
int function ( Connection arg0 , String arg1 ) { Statement loc0 = arg0 . createStatement ( ) ; ResultSet loc1 = loc0 . executeQuery ( arg1 ) ; int loc2 = Integer . MIN_VALUE ; if ( loc1 . next ( ) ) { loc2 = loc1 . getInt ( 1 ) ; } loc1 . close ( ) ; loc0 . close ( ) ; return loc2 ; }