public void reattach() { for (OrderElement each : orderElements) { orderElementDAO.reattach(each); (orderDAO.loadOrderAvoidingProxyFor(each)).getName(); } }
private void initialize(OrderElement orderElement) { orderElement.getName(); (orderDAO.loadOrderAvoidingProxyFor(orderElement)).getName(); }