I am working on a billing-managing-project. A billing contains multiple invoice line items.
The data is saved in a database and read with hibernate and spring.
I have tried to create a master-/detail-form on which the user can edit the several invoice line items.
But when I try to open this dialog the following error will be raised:
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: ch.cadi.inic.saemy.cannonball.business.Billing.ite ms, no session or session was closed
What do I have to do to eliminate this error?