Hi, " I found an example of storing rules in a database using hibernate > technology " " I think you may be referring to the article I submitted "
Can u share me the links to these examples/articles pls? Thank u very much i.ishak -----Original Message----- From: Susan G Lee [mailto:[EMAIL PROTECTED] Sent: Thursday, March 30, 2006 5:11 AM To: user@drools.codehaus.org Subject: Re: [drools-user] Storing rules in a database Hi Sujit, Thank you so much for your input. You have veen very helpful. Thanks, Susan G. Lee Sujit Pal <[EMAIL PROTECTED]> 03/29/2006 03:58 PM Please respond to user@drools.codehaus.org To user@drools.codehaus.org cc Subject Re: [drools-user] Storing rules in a database Hi Susan, I think you may be referring to the article I submitted. An approach using stored procedures should be similar, all the hibernate code does is to persist and retrieve the object mapping to and from the database, so if you had stored procedures to do the same mappings, then that would work too. The only thing to note is that not all databases support stored procedures, and for those that do, stored procedure dialects are different enough so the solution would be tied to a single database. So a solution with stored procedures would not be a generic one. Michael Neale has written a repository api for Drools3 which allows you to plug in your repository implementation. The database implementation is based on hibernate, but it should be easy enough to replace the mappings with stored procedures, if you really wanted to go that route. HTH -sujit On Wed, 2006-03-29 at 11:46, Susan G Lee wrote: > Hi, > > I found an example of storing rules in a database using hibernate > technology. Is there another example of using it w/ stored procedures > calling the database to generate the rules? or is hibernate the only way? > > > > Thanks, > Susan G. Lee