<?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: Multi tenancy / Entity relationship in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137266#M96238</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry for the late reply. I was on vacation &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Correct me if I'm wrong. But the problem seems to be that not all relationships are modelled via foreign keys. So some dependencies aren't obvious resp. explicit.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Aug 2013 13:25:51 GMT</pubDate>
    <dc:creator>tdtappe</dc:creator>
    <dc:date>2013-08-12T13:25:51Z</dc:date>
    <item>
      <title>Multi tenancy / Entity relationship</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137258#M96230</link>
      <description>I use multi tenancy in one database with Activiti by prefixing process definitions and executions with some tenant identity. This seems to work so far. Now in case I need to remove a tenant from the database or doing a backup of only the tenant's data what about the dependencies of all those Activit</description>
      <pubDate>Fri, 05 Jul 2013 13:23:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137258#M96230</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2013-07-05T13:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Multi tenancy / Entity relationship</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137259#M96231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is no easy way to query other entities (eg. process, tasks) using a query that keeps in mind the processDefinitionKeyLike(…). However, you can use a special process-variable (that is set when the process is started by eg. an execution-listener or in the code that calls the startProcessInstance…) indicating what tenant the process is in, and query tasks and executions/processes based on that variable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other entities, don't have this kind of support built in, however with process-definitions, deployments (using category, e.g..), tasks and executions/processes covered, you can jump pretty far.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 07:50:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137259#M96231</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-09T07:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multi tenancy / Entity relationship</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137260#M96232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see. I will check wether the process-variable approach can help me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But just to make sure I understand what you say: You don't think it's possible (out of the box) to have plain sql select statements that filter all the data belonging to a specific tenant?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is what I think might work (so far):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- act_re_procdef&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;select * from act_re_procdef where key_ like :tenant&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- act_ru_execution&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;select * from act_ru_execution where proc_def_id_ like :tenant&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- act_ru_task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;select * from act_ru_task where proc_def_id_ like :tenant&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- act_ru_event_subscr&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;select event.* from act_ru_event_subscr event join act_ru_execution exec on event.execution_id_ = exec.id_ where exec.proc_def_id_ like :tenant&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- act_ru_identitylink&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;select * from act_ru_identitylink where proc_def_id_ like :tenant&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- act_ru_variable&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;select var.* from act_ru_variable var join act_ru_execution exec on var.execution_id_ = exec.id_ where exec.proc_def_id_ like :tenant&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- act_re_deployment&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;select deploy.* from act_re_deployment deploy where&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;exists(select 1 from act_re_procdef procdef where procdef.key_ like :tenant and procdef.deployment_id_ = deploy.id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or exists(select 1 from act_ru_execution exec join act_ru_variable var on var.execution_id_ = exec.id_ join act_ge_bytearray bytearray on var.bytearray_id_ = bytearray.id_ where bytearray.deployment_id_ = deploy.id_ and exec.proc_def_id_ like :tenant)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- act_ge_bytearray&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;select bytearray.* from act_ge_bytearray bytearray where&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;exists(select 1 from act_ru_execution exec join act_ru_variable var on var.execution_id_ = exec.id_ where var.bytearray_id_ = bytearray.id_ and exec.proc_def_id_ like :tenant)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 09:14:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137260#M96232</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2013-07-11T09:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Multi tenancy / Entity relationship</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137261#M96233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure, plain sql will give you the possibility … but you won't be able to use the out of the box Java API of Activiti.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 07:23:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137261#M96233</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-07-12T07:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multi tenancy / Entity relationship</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137262#M96234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No problem. As it's all just for a technical backup/restore I do not get much of a headache because of this &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So being possible what do all the dependencies between the entities/tables look like so that I can build my sql select statements (for each table) to get only those records belong to a specific tenant.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 09:04:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137262#M96234</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2013-07-12T09:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Multi tenancy / Entity relationship</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137263#M96235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure what you mean by "dependencies"… You mean an ERD (we don't have that currently)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 09:01:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137263#M96235</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-17T09:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Multi tenancy / Entity relationship</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137264#M96236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, that's what I am looking for. So that I can build proper select statements.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 13:15:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137264#M96236</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2013-07-18T13:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Multi tenancy / Entity relationship</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137265#M96237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We don't have such a diagram available. However, many tools out there can easily generate it from the DDL or database schema if you need it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 07:25:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137265#M96237</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-07-24T07:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Multi tenancy / Entity relationship</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137266#M96238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry for the late reply. I was on vacation &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Correct me if I'm wrong. But the problem seems to be that not all relationships are modelled via foreign keys. So some dependencies aren't obvious resp. explicit.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 13:25:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137266#M96238</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2013-08-12T13:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multi tenancy / Entity relationship</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137267#M96239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's true. Everything in the runtime tables have foreign keys.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything in the historical tables don't have foreign keys, for performance reasons.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 09:58:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137267#M96239</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-08-14T09:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Multi tenancy / Entity relationship</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137268#M96240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh, I see. Thanks for clarification.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there some better way than just "guessing" to find out about the relationships in the "historical" part?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 10:01:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137268#M96240</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2013-08-14T10:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Multi tenancy / Entity relationship</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137269#M96241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Most of them should be table_name_id when it references other tables&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 12:01:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137269#M96241</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-08-14T12:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Multi tenancy / Entity relationship</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137270#M96242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry for bothering you again. But the references aren't as obvious to me as expected. So could you please have a look at what I've put together so far? Things unclear to me are marked with a "?". "=&amp;gt;" stands for a foreign key. "-&amp;gt;" might be a reference without a foreign key definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;act_ge_bytearray (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;======================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;deployment_id_ (=&amp;gt; act_re_deployment)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_ge_property (name_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=======================&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_hi_actinst (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;====================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_def_id_ (-&amp;gt; act_re_procdef?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_inst_id_ (-&amp;gt; act_ru_execution?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;execution_id_ (-&amp;gt; act_ru_execution?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;act_id_ (-&amp;gt; ?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task_id_ (-&amp;gt; act_ru_task?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;call_proc_inst_id_ (-&amp;gt; act_ru_execution?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;assignee_ (-&amp;gt; act_id_user?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_hi_attachment (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=======================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;user_id_ (-&amp;gt; act_id_user?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task_id_ (-&amp;gt; act_ru_task?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_inst_id_ (-&amp;gt; act_ru_execution?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;content_id_ (-&amp;gt; ?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_hi_comment (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;====================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;user_id_ (-&amp;gt; act_id_user?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task_id_ (-&amp;gt; act_ru_task?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_inst_id_ (-&amp;gt; act_ru_execution?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_hi_detail (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;===================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_inst_id_ (-&amp;gt; act_ru_execution?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;execution_id_ (-&amp;gt; act_ru_execution?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task_id_ (-&amp;gt; act_ru_task?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;act_inst_id_ (-&amp;gt; ?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bytearray_id_ (-&amp;gt; act_ge_bytearray?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_hi_procinst (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=====================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_inst_id_ (-&amp;gt; act_ru_execution?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_def_id_ (-&amp;gt; act_re_procdef?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;start_user_id_ (-&amp;gt; act_id_user?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;start_act_id_ (-&amp;gt; ?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;end_act_id_ (-&amp;gt; ?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;super_process_instance_id_ (-&amp;gt; act_ru_execution?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_hi_taskinst (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=====================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_def_id_ (-&amp;gt; act_re_procdef?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_inst_id_ (-&amp;gt; act_ru_execution?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;execution_id_ (-&amp;gt; act_ru_execution?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;parent_task_id_ (-&amp;gt; act_ru_task?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;assignee_ (-&amp;gt; act_id_user?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_hi_varinst (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;====================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_inst_id_ (-&amp;gt; act_ru_execution)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;execution_id_ (-&amp;gt; act_ru_execution)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task_id_ (-&amp;gt; act_ru_task)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bytearray_id_ (-&amp;gt; act_ge_bytearray)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_id_group (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;==================&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_id_info (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;user_id_ (-&amp;gt; act_id_user?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;parent_id_ (-&amp;gt; ?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_id_membership (user_id_, group_id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=======================================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;user_id_ (=&amp;gt; act_id_user)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;group_id_ (=&amp;gt; act_id_group)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_id_user (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;picture_id_ (-&amp;gt; act_ge_bytearray?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_re_deployment (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=======================&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_re_model (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;==================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;deployment_id_ (=&amp;gt; act_re_deployment)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;editor_source_value_id_ (=&amp;gt; act_ge_bytearray)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;editor_source_extra_value_id_ (=&amp;gt; act_ge_bytearray)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_re_procdef (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;====================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;deployment_id_ (-&amp;gt; act_re_deployment?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_ru_event_subscr (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=========================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;execution_id_ (=&amp;gt; act_ru_execution)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_inst_id_ (-&amp;gt; act_ru_execution?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;activity_id_ (-&amp;gt; ?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_ru_execution (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;======================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;parent_id_ (=&amp;gt; act_ru_execution)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_def_id_ (=&amp;gt; act_re_procdef)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_inst_id_ (=&amp;gt; act_ru_execution)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;super_exec_ (=&amp;gt; act_ru_execution)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;act_id_ (-&amp;gt; ?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_ru_identitylink (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=========================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_def_id_ (=&amp;gt; act_re_procdef)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task_id_ (=&amp;gt; act_ru_task)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;group_id_ (-&amp;gt; act_id_group?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;user_id_ (-&amp;gt; act_id_user?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_ru_job (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;exception_stack_id_ (=&amp;gt; act_ge_bytearray)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;execution_id_ (-&amp;gt; act_ru_execution?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;process_instance_id_ (-&amp;gt; act_ru_execution?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_def_id_ (-&amp;gt; act_re_procdef?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_ru_task (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;execution_id_ (=&amp;gt; act_ru_execution)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_def_id_ (=&amp;gt; act_re_procdef)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_inst_id_ (=&amp;gt; act_ru_execution)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;parent_task_id_ (-&amp;gt; act_ru_task?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;act_ru_variable (id_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=====================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bytearray_id_ (=&amp;gt; act_ge_bytearray)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;execution_id_ (=&amp;gt; act_ru_execution)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc_inst_id_ (=&amp;gt; act_ru_execution)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task_id_ (-&amp;gt; act_ru_task?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 13:14:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137270#M96242</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2013-08-27T13:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Multi tenancy / Entity relationship</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137271#M96243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In short, we try to make naming as clear as possible, so all assumptions you made for tables referenced is correct. Only for users/groups, there is no hard link with the identity-tables, as you can plug in alternative identity-management (e.g. LDAP) that doesn't use the act_id_* tables.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 08:42:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-tenancy-entity-relationship/m-p/137271#M96243</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-09-04T08:42:35Z</dc:date>
    </item>
  </channel>
</rss>

