[jboss-user] [JBoss Seam] - Drools (JBoss Rules) Hibernate Query and EntityManager
damianharvey
do-not-reply at jboss.com
Thu Jul 19 10:11:54 EDT 2007
Drools rules can use Hibernate queries to perform checks against the database. They look something like this:
$cheese : Cheese() from session.createQuery("select cheese from Products where ...").setProperties( {"key1" => "value1", "key2" => "value2" }).list()
How does the session get passed to Drools and is it possible to pass Seam's EntityManager in a similar fashion? Has anyone used this feature of Drools with Seam?
Thanks,
Damian.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065804#4065804
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065804
More information about the jboss-user
mailing list