[rules-users] How to write Hibernate query lang(HQL) in .DRL file

Wolfgang Laun wolfgang.laun at gmail.com
Wed Jul 11 02:36:36 EDT 2012


But you can write plain Java code in any consequence, in DRL.

What "errors"?

-W



On 11/07/2012, zeeshan <zeeshan.spring at gmail.com> wrote:
> Hi !
>
> According to my requirement I need to fetch and Insert data from database
> using Hibernate Query from .DRL file.
> I have idea how to execute HQL in Plain Java class but according to my
> requirement,I need to fire query to database from .DRL file which I tried
> but unable to get output instead I was getting errors.
>
>       Can anyone suggest me process to execute Hibernate Query from DRL
> file
> or please provide me some sample code or any link.
>
> Thanks !!
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/How-to-write-Hibernate-query-lang-HQL-in-DRL-file-tp4018571.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>


More information about the rules-users mailing list