Hi,

I use drools within my application (civilization-mmo.blogspot.com), where I reason over the facts and alter them. I need to persist the changes through JPA. As my persistence is defined in different package, whose interface only work with DTOs, I can't use JPA entities as facts as I saw here http://www.ibm.com/developerworks/opensource/library/j-drools5/index.html. The persistence package offers services to manage the DTOs.

Is there any way to persist altered facts? Well I thought about the option to use on the RHS also call to service method together with modify method to promote the changes into db and engine at once. Are there more? Probably with some event listeners?


Thanks in advance.

Jan