]
Mario Fusco reassigned DROOLS-762:
----------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
JIT Thread and Calling thread can cause simultaneous access to
hibernate sessions
---------------------------------------------------------------------------------
Key: DROOLS-762
URL:
https://issues.jboss.org/browse/DROOLS-762
Project: Drools
Issue Type: Bug
Affects Versions: 5.6.0.Final
Reporter: Mark Torres
Assignee: Mario Fusco
When evaluating drools involving uninitialized property of hibernate entities,
simultaneous access to a hibernate session can occur. With the existing codebase on
5.5/6.x the jit thread is "launched" prior to rule evaluation. This can cause
the calling thread, and jit thread to call lazy property initialization at the same time,
which can cause hibernate to throw exceptions.