List<Order> orders = orderManager.findAllNotSent();
Set<OrderLine> orderLines;
for (Order order : orders) {
orderManager.lazyLoadTree(order);//LoadOrder(order,new LazyLoadOrderEnum[] { LazyLoadOrderEnum.ORDER_LINES });
orderLines = order.getOrderLines();
for (OrderLine orderLine : orderLines) {
//if(orderLine.getAttributeInfo()==null){
//orderLineManager.lazyLoad(orderLine,new LazyLoadOrderLineEnum[] { LazyLoadOrderLineEnum.ORDER_LINES,LazyLoadOrderLineEnum.ORDER_LINE_ATTRIBUTE });
//orderLineManager.lazyLoadTree(orderLine);