TRUNK-4292: Changed the methods in the OrderDAO.java and in the HibernateOrderDAO.java implementation