Merge branch 'Verze_1.0'

Verze_2.0
Josef Rokos 10 years ago
commit 9ec15943ed

@ -65,4 +65,12 @@ public class InvoicingServiceImpl extends AbstractOwnedService<Invoicing> implem
return q.list(); return q.list();
} }
@Transactional
@LazyLoader("form")
public void loadOwnedBy(Invoicing invoice) {
Invoicing inv = getById(invoice.getId());
Hibernate.initialize(inv.getRequirement().getOwnedBy());
invoice.getRequirement().setOwnedBy(inv.getRequirement().getOwnedBy());
}
} }

Loading…
Cancel
Save