<?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: It's possible to create a separate schema/database for each tenant? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/it-s-possible-to-create-a-separate-schema-database-for-each/m-p/42568#M17724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; margin: 20px 0px;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;So&amp;nbsp; actually it doesn't do anything special. It just reference a db and that's all?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px; margin: 20px 0px 0px;"&gt;&lt;DIV class="" data-comment-id="832224" style="color: #8b8b8b; border: none; font-weight: inherit; font-size: 0.8571rem;"&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2018 08:54:57 GMT</pubDate>
    <dc:creator>calin_chiper</dc:creator>
    <dc:date>2018-05-09T08:54:57Z</dc:date>
    <item>
      <title>It's possible to create a separate schema/database for each tenant?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/it-s-possible-to-create-a-separate-schema-database-for-each/m-p/42566#M17722</link>
      <description>I want to create a separate db/schema using the TenantAdminService.&amp;nbsp;In the Alfresco SDK I've created a tenant using a four argument method&amp;nbsp;createMethod executed as a init method:this.tenantAdminService.createTenant(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "aaa.com", // username&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "aaa.com".toCharArray(), // password&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "D:</description>
      <pubDate>Wed, 09 May 2018 07:57:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/it-s-possible-to-create-a-separate-schema-database-for-each/m-p/42566#M17722</guid>
      <dc:creator>calin_chiper</dc:creator>
      <dc:date>2018-05-09T07:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: It's possible to create a separate schema/database for each tenant?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/it-s-possible-to-create-a-separate-schema-database-for-each/m-p/42567#M17723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The interface TenantAdminService contains the comment&lt;/P&gt;&lt;PRE class="language-java line-numbers"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;// experimental (unsupported)&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;public&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;createTenant&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;String tenantDomain&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;char&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; adminRawPassword&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; String contentRoot&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; String dbUrl&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is unfortunate that this experimental API has been exposed in a public release.&amp;nbsp;Within the implementation it is stated that the operation expects the schema to be already bootstrapped in the referenced dabase - it will not bootstrap the tables itself. Also, even if the DB were bootstrapped, it would not be used at runtime since the active JDBC data source is not using the DB URL stored for the tenant when creating the actual DB connections.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 08:15:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/it-s-possible-to-create-a-separate-schema-database-for-each/m-p/42567#M17723</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-05-09T08:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: It's possible to create a separate schema/database for each tenant?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/it-s-possible-to-create-a-separate-schema-database-for-each/m-p/42568#M17724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; margin: 20px 0px;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;So&amp;nbsp; actually it doesn't do anything special. It just reference a db and that's all?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px; margin: 20px 0px 0px;"&gt;&lt;DIV class="" data-comment-id="832224" style="color: #8b8b8b; border: none; font-weight: inherit; font-size: 0.8571rem;"&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 08:54:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/it-s-possible-to-create-a-separate-schema-database-for-each/m-p/42568#M17724</guid>
      <dc:creator>calin_chiper</dc:creator>
      <dc:date>2018-05-09T08:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: It's possible to create a separate schema/database for each tenant?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/it-s-possible-to-create-a-separate-schema-database-for-each/m-p/42569#M17725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At the moment, yes. And I don't know of any plans to change that, given how multi-tenancy will likely be removed from the core of the product in an upcoming version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 10:06:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/it-s-possible-to-create-a-separate-schema-database-for-each/m-p/42569#M17725</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-05-09T10:06:35Z</dc:date>
    </item>
  </channel>
</rss>

