@Override
 public Object getSingleResult() {
   final StoredProcedureReturn nextReturn = outputs().getNextReturn();
   if (!nextReturn.isResultSet()) {
     return null; // todo : what should be thrown/returned here?
   }
   return ((StoredProcedureResultSetReturn) nextReturn).getSingleResult();
 }
 @Override
 public int getUpdateCount() {
   final StoredProcedureReturn nextReturn = outputs().getNextReturn();
   if (nextReturn.isResultSet()) {
     return -1;
   }
   return ((StoredProcedureUpdateCountReturn) nextReturn).getUpdateCount();
 }