I too have the same requirement. The rules must be stored in a user-defined
schema and Drools must be able to pick these rules and fire them
appropriately.
--
View this message in context:
http://drools.46999.n3.nabble.com/Inserting-rules-from-guvnor-into-database-tp3632054p3709267.html
Sent
Please state your requirements more precisely. Drools isn't capable to
pick rules from some database. To fire, Drools must have all
applicable rules in the Knowledge Base on which a Session is based.
-W
On 02/02/2012, tecshine tecsh...@gmail.com wrote:
I too have the same requirement. The rules
Rules are a resource used by your application.
How and where you store them is up to you.
How you retrieve them and use them depends upon your choice of how and
where to store them.
If you use a database it is for you to decide how to retrieve them.
If you use Guvnor we expose a REST API.
On
Guvnor saves rules (source and binary packages) using JCR (Jackrabbit or
Modeshape). There are no hooks for you to save rules elsewhere.
JCR can be configured to persist to a database (this, I believe, is what
Thomas eludes to). The schema is as defined by and created by JCR.
If you want to save
Thanq Manstis.
--
View this message in context:
http://drools.46999.n3.nabble.com/Inserting-rules-from-guvnor-into-database-tp3632054p3634557.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
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
-Original Message-
From: rules-users-boun...@lists.jboss.org [mailto:rules-users-
boun...@lists.jboss.org] On Behalf Of srinivasasanda
Sent: 04 January 2012 14:55
To: rules-users@lists.jboss.org
Subject: [rules-users] Inserting rules from guvnor into database
Hi All,
Greetings
I've a doubt in this context.In derby it is storing all rules in indexes
format.In Mysql or Postgres will it create tables on its own.Even Ive
modified components.xml,there are no schemas that have been created in
mysql.Should I create the required schemas before I changing the xml
files.??