Hi,

I use drools within my application (civilization-mmo.blogspot.com <http://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 herehttp://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

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to