Is there a documentation which shows how to access a database through Hibernate query in JBoss Rule ?
Issue
- There are various use cases where users might need to access a specific database using
Hibernate queriesfrom inside a rule file to collect fact objects. Is there any documentation which shows how to accomplish this goal? The condition of such a rule might look something like the following.
(Something like game:Game() from hibernateSession.createQuery("select games from Player p where p.age >=:age").setProperties( {"age" : 18 }).list()
)
Environment
- Red Hat JBoss BRMS (BRMS)
- 6.0.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
