Fixed faulty not null constraints in Order.hbm.xml and updated the existing test data and methods

Fixed failing tests
Refactor OrderService.getOrders- TRUNK-4173