<div dir="ltr">After making the changes dont forget to delete the repository folder, other wise the db tables wont be getting created..<br><br>Points What i did<div style>1) I had a up Guvnor.</div><div style>2) Changed the Repository.xml</div>
<div style> and also added postgresql Jar in my classpath.</div><div style>3) Deleted the Repository folder</div><div style>4) Started the guvnor again.</div><div style><br></div><div style>And Tables were created in the DB(Postgresql)</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 26, 2013 at 2:15 AM, Michael Anstis <span dir="ltr"><<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>You are mixing your requirements.</p>
<p>You can configure Guvnor's use of JCR (Jackrabbit) to use a database. In this case JCR will create new tables as required by JCR.</p>
<p>Retrieving external data using "from" requires you, the application author, to write helper classes that can retrieve data from any source you wish using whatever technology you wish (JDBC, JPA, web services, file system etc).</p>
<p>sent on the move</p><div class="HOEnZb"><div class="h5">
<p>On 25 Feb 2013 19:44, "IPatel" <<a href="mailto:ishita.patel@usbank.com" target="_blank">ishita.patel@usbank.com</a>> wrote:<br type="attribution"></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you Naman for your response...<br>
<br>
I was reading the document you sent me and it seems that it will create new<br>
tables for me. Am i understanding this correctly??<br>
<br>
in my case, our application already has specified tables and i want to<br>
connect to that database to pull/use/query data via Guvnor. I believe there<br>
is a "From" keyword i can use to extract data from tables.<br>
<br>
Do you think this will help me with that??<br>
<br>
Thank you<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/DB2-and-Guvnor-tp4022522p4022581.html" target="_blank">http://drools.46999.n3.nabble.com/DB2-and-Guvnor-tp4022522p4022581.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote><p></p>
</div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br></div>