<?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 Re: How to make nativesql queries on activit tables in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-make-nativesql-queries-on-activit-tables/m-p/27849#M14051</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, Firstly I personally roll backwards. might be a bit harder for some. but quite easy to keep everything in place and trying for these queries.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Feb 2011 10:00:59 GMT</pubDate>
    <dc:creator>vander230</dc:creator>
    <dc:date>2011-02-15T10:00:59Z</dc:date>
    <item>
      <title>How to make nativesql queries on activit tables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-make-nativesql-queries-on-activit-tables/m-p/27846#M14048</link>
      <description>Hi,Is there a way to map activiti tables with jpa and run nativesql's on those tables??</description>
      <pubDate>Mon, 14 Feb 2011 09:54:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-make-nativesql-queries-on-activit-tables/m-p/27846#M14048</guid>
      <dc:creator>ahmetkara</dc:creator>
      <dc:date>2011-02-14T09:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to make nativesql queries on activit tables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-make-nativesql-queries-on-activit-tables/m-p/27847#M14049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can run native sql on the activiti tables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can store JPA entities as process variables and Activiti will store references to those entities.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you explain a bit more what you mean with "map activiti tables with JPA"?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 07:19:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-make-nativesql-queries-on-activit-tables/m-p/27847#M14049</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2011-02-15T07:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to make nativesql queries on activit tables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-make-nativesql-queries-on-activit-tables/m-p/27848#M14050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually I need to run nativesql queries on activiti tables. For example; I want to display a processes which has been started by loggedin user. To do this(as I know), I should query the ActHiProcInst table like this "select a from ActHiProcinst a where&amp;nbsp; startUserId = (:loggedInUserId)", but this is not met by activiti history api, so I need to query activiti history tables. To do that, I thought I might get the JPA entities by reverse engineering and then I could query tables using JPA entity manager (I don't know it is right way or not). So I am asking how to query acitiviti's own tables by JPA not any persistable entity. I hope, I could be clear &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;. By the way, thanks for reply.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 09:46:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-make-nativesql-queries-on-activit-tables/m-p/27848#M14050</guid>
      <dc:creator>ahmetkara</dc:creator>
      <dc:date>2011-02-15T09:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to make nativesql queries on activit tables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-make-nativesql-queries-on-activit-tables/m-p/27849#M14051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, Firstly I personally roll backwards. might be a bit harder for some. but quite easy to keep everything in place and trying for these queries.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 10:00:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-make-nativesql-queries-on-activit-tables/m-p/27849#M14051</guid>
      <dc:creator>vander230</dc:creator>
      <dc:date>2011-02-15T10:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to make nativesql queries on activit tables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-make-nativesql-queries-on-activit-tables/m-p/27850#M14052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can add a Jira to request a feature that adds the capability to the HistoricProcessInstanceQuery to filter on who started the process instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;historyService&lt;BR /&gt;&amp;nbsp; .createHistoricProcessInstanceQuery()&lt;BR /&gt;&amp;nbsp; .startedBy("johndoe")&lt;BR /&gt;&amp;nbsp; .list();&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Is that what you want?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 12:05:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-make-nativesql-queries-on-activit-tables/m-p/27850#M14052</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2011-02-16T12:05:54Z</dc:date>
    </item>
  </channel>
</rss>

