<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
All,<br>
sorry to ask, but does anyone have a complete example of how to use
hibernate query within drools?<br>
<br>
Regards<br>
Wilson<br>
<br>
<br>
RAJA SEKHAR REDDY MAYALURU wrote:
<blockquote
cite="mid:979cf03e0806020856q4944c4d1qd2ac5f4fae5246e2@mail.gmail.com"
type="cite">
<div>hi , </div>
<div> </div>
<div>i need to connect to data from a .drl file from a rule . i need
to get the dynamic data from DB to frmae a rule . </div>
<div> </div>
<div>I have seen that Drools support Hibernate . </div>
<div> </div>
<div>so how can i connect to DB from a drl to DB using hibernate . </div>
<div> </div>
<div>i need to have dynamic (data ) rules in my drl file . </div>
<div> </div>
<div>we can configure hibernate on top of pojo , my main intrest is
to know how to invoke hibernate from a drl file . </div>
<div> </div>
<div>how to execute named queries in the rule project . </div>
<div> </div>
<div>please send me the steps to configure hibernate and use it in
rules project . </div>
<div> </div>
<div>thanks for the help in advance </div>
<div> </div>
<div>regards ,</div>
<div> </div>
<div>Sekhar . </div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
</body>
</html>