org.drools.event.WorkingMemoryEventListener would be the other option, now using changes to the Working Memory as the trigger to update the Data Base. If you intend using rules that modify WM contents, you may have to have this in addition to a DB change notification mechanism.

-W

On Fri, Nov 6, 2009 at 9:43 PM, Daniel Miller <dmiller@versatile.com> wrote:
So I hope that someone out here, or many of you, can give me some idea
of how you do this.

I have about 20+ entities in my database that I want Drools to know
about.  Obviously my hope is to apply CEP, rules and processes to
these items.  However, I feel like I'm missing some type of connection
between how Drools recommends keeping my working memory in sync with
my database changes.

Ideally, I'd love to be able to just update my entities as I have been
doing in the database, but have those changes automatically move their
way over into the working memory.  How do any of you recommend I
accomplish this?

Thanks in advance for any suggestions.

Dan Miller

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