Hi,
I do have the same issue.
I need to use Hibernate in Drools to Query the DB.
In Java code, I was successful in using Hibernate Native SQL.
In DRL, I have the Hibernate session, how to use it for performing
NativeSQLQuery
i.e, Sample() from hibernateSession.createSQLQuery("Quering some table and
retrieving some column values").list()
Sample() is the class corresponding to columns which are retrieved from
Query.
Please suggest the good solution.
Thanks in advance.
--
View this message in context:
http://drools.46999.n3.nabble.com/How-to-write-Hibernate-query-lang-HQL-i...
Sent from the Drools: User forum mailing list archive at
Nabble.com.