I am using spring boot with JPA integrating hibernate ORM. In my rule file how to call parameters in multiple entity(used joins).
Please help me. I am starter with drools.
I have the below query :
Select vec.memcode,vec.memName from Veclmem vec,VeclmemStates vecst where
vecst.id.veStatecode=:stCode and vec.veCovcd= vecst.id.veCovcd
How to write this query in drool file with dynamic value passing?
The above query have 2-entities and 1- composite class, Veclmem,VeclmemStates and VeclmemStatesId .
veclmemStates entity having VeclmemStatesId entity.