<?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: Rename tables in the database in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rename-tables-in-the-database/m-p/157647#M111812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Perfect!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried it and all ok. It's what I needed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Dec 2013 16:13:36 GMT</pubDate>
    <dc:creator>aitor</dc:creator>
    <dc:date>2013-12-18T16:13:36Z</dc:date>
    <item>
      <title>Rename tables in the database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rename-tables-in-the-database/m-p/157645#M111810</link>
      <description>Hello,Is it possible to rename the tables in the database from ACT_XXXX to BPM_XXXX, for example, without overwriting the API?In my application "ACT_" acronym is reserved for ACTION data tables.Thanks.</description>
      <pubDate>Tue, 17 Dec 2013 15:07:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rename-tables-in-the-database/m-p/157645#M111810</guid>
      <dc:creator>aitor</dc:creator>
      <dc:date>2013-12-17T15:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rename tables in the database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rename-tables-in-the-database/m-p/157646#M111811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can have table-prefixed for the tables, to overcome issues with clashing names. Renaming the whole table is not possible. So you could have an BPM_ACT_RU_EXECUTION table, but not a BPM_RU_EXECUTION table (at least, not without forking activiti &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Prefix can be configured using property "databaseTablePrefix" on the processEngineConfiguration:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;/**&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * Allows configuring a database table prefix which is used for all runtime operations of the process engine.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * For example, if you specify a prefix named 'PRE1.', activiti will query for executions in a table named&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * 'PRE1.ACT_RU_EXECUTION_'. &lt;BR /&gt;&amp;nbsp;&amp;nbsp; * &lt;BR /&gt;&amp;nbsp;&amp;nbsp; * &amp;lt;p /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * &amp;lt;strong&amp;gt;NOTE: the prefix is not respected by automatic database schema management. If you use &lt;BR /&gt;&amp;nbsp;&amp;nbsp; * {@link ProcessEngineConfiguration#DB_SCHEMA_UPDATE_CREATE_DROP} &lt;BR /&gt;&amp;nbsp;&amp;nbsp; * or {@link ProcessEngineConfiguration#DB_SCHEMA_UPDATE_TRUE}, activiti will create the database tables &lt;BR /&gt;&amp;nbsp;&amp;nbsp; * using the default names, regardless of the prefix configured here.&amp;lt;/strong&amp;gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; * &lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @since 5.9&lt;BR /&gt;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp; protected String databaseTablePrefix = "";&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;You should manually create the tables using the prefix. Look for the right files in github or in the engine jar (each DB has a set of *create*.sql files). Alter those to respect the prefix you set. From that point on, if the engine boots, the prefix will be used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;/modules/activiti-engine/src/main/resources/org/activiti/db/create/activiti.h2.create.engine.sql&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 08:28:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rename-tables-in-the-database/m-p/157646#M111811</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-12-18T08:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rename tables in the database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rename-tables-in-the-database/m-p/157647#M111812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Perfect!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried it and all ok. It's what I needed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 16:13:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rename-tables-in-the-database/m-p/157647#M111812</guid>
      <dc:creator>aitor</dc:creator>
      <dc:date>2013-12-18T16:13:36Z</dc:date>
    </item>
  </channel>
</rss>

