[rules-users] Inserting rules from guvnor into database

Swindells, Thomas TSwindells at nds.com
Wed Jan 4 10:11:41 EST 2012


What is your actual requirement?
Guvnor already stores the rules in a database - derby by default, but you could
probably configure postgres/mysql as the backend if you want.
This page seems to have some details on that
http://www.integratingstuff.com/2011/01/28/setting-up-drools-guvnor/


Thomas

> -----Original Message-----
> From: rules-users-bounces at lists.jboss.org [mailto:rules-users-
> bounces at lists.jboss.org] On Behalf Of srinivasasanda
> Sent: 04 January 2012 14:55
> To: rules-users at lists.jboss.org
> Subject: [rules-users] Inserting rules from guvnor into database
>
> Hi All,
>
> Greetings,
>
> I would like to know how to insert the rules from guvnor into
> database.Ofcourse,I retrieved the rules from guvnor through
> KnowledgePackage classes and API and inserted manually through java code.
>
> But,I should not need that.My requirement is whenever i created rule in the
> guvnor and click save changes,my repository of rules must be inserted into
> database(mysql or postgres).How can i achieve that.Please suggest me.How
> can i achieve that.
>
> Thanks in Advance
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/Inserting-
> rules-from-guvnor-into-database-tp3632054p3632054.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users


**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster at nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************




More information about the rules-users mailing list