<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to get the table fields? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-the-table-fields/m-p/28081#M12018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using activiti in my spring web application. I was created one listener with implements of TaskListener like as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;public class MyEventListener implements TaskListener {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public void notify(DelegateTask delegateTask) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;List list =&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;delegateTask.getExecution().getEngineServices().getRuntimeService().createNativeExecutionQuery().sql("select * from act_custom_process").list();&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; for (Object object : list) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println("object: "+object);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i would like to execute sql query. Now, how can i&amp;nbsp;get the database table fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Dec 2017 09:14:12 GMT</pubDate>
    <dc:creator>vamsinipun</dc:creator>
    <dc:date>2017-12-28T09:14:12Z</dc:date>
    <item>
      <title>How to get the table fields?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-the-table-fields/m-p/28081#M12018</link>
      <description>Hi,I am using activiti in my spring web application. I was created one listener with implements of TaskListener like as below.public class MyEventListener implements TaskListener {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public void notify(DelegateTask delegateTask) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;List list =&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;delegateTask.getExecution().getEngineServ</description>
      <pubDate>Thu, 28 Dec 2017 09:14:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-the-table-fields/m-p/28081#M12018</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-12-28T09:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the table fields?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-the-table-fields/m-p/28082#M12019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are writing in Java, you can realize it in your preferred way without using Activiti's features in particular.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you want to do with the function of Activiti, I think that the following will be helpful.&lt;/P&gt;&lt;P&gt;&lt;A class="jivelink10" href="http://www.jorambarrez.be/blog/2014/01/17/execute-custom-sql-in-activiti/" title="http://www.jorambarrez.be/blog/2014/01/17/execute-custom-sql-in-activiti/" rel="nofollow noopener noreferrer"&gt;http://www.jorambarrez.be/blog/2014/01/17/execute-custom-sql-in-activiti/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 12:30:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-the-table-fields/m-p/28082#M12019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-28T12:30:15Z</dc:date>
    </item>
  </channel>
</rss>

