After your client creates the connection to the database, it is ready to call the stored procedures. You invoke a
    stored procedure using the callProcedure() method, passing the procedure name and variables as arguments.
    For example:
VoltTable[] results;
 
try { results = client.callProcedure("LookupFlight",               origin,
                                     dest,
                                     departtime).getResults();
                                     origin,
                                     dest,
                                     departtime).getResults();     } catch (Exception e) {
} catch (Exception e) {                                            e.printStackTrace();
     System.exit(-1);
}
     e.printStackTrace();
     System.exit(-1);
}| The  | |
| Once a synchronous call completes, you can evaluate the results of the stored procedure. The
         | |
| Note that since  |