I always get lazy initialization exception when I want to work in a lazy loaded collection in drools files.(sec.drl)
What can I do to avoid this problem?
Is it possible without eager fech type?
thx.
I got the following error:
org.drools.spi.ConsequenceException: org.hibernate.LazyInitializationException: failed to lazily initialize a collection, no session or session was closed