code: @Override
     protected ResultSet findLastOrderNumber(int localMaxOrderNumber,boolean increment) throws SQLException
     {
        if (findLastOrderNumber == null)
        {
           findLastOrderNumber = dbConnection.prepareCall(FIND_LAST_ORDER_NUMBER);
        }
        else
        {
           findLastOrderNumber.clearParameters();
        }
        int value = increment ? 1 : 0;
        findLastOrderNumber.setInt(1,localMaxOrderNumber);
        findLastOrderNumber.setInt(2, value);
        findLastOrderNumber.execute();
        return (findLastOrderNumber).getResultSet();
     }
docs: {@inheritDoc}