<?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 can i change default alfresco database schema name. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-change-default-alfresco-database-schema-name/m-p/227199#M180329</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes hibernate.default_schema is a "special" setting for Oracle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On 3.3 and MySQL you just set the db.name in your alfresco-global.properties.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Sep 2010 17:43:53 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2010-09-02T17:43:53Z</dc:date>
    <item>
      <title>How can i change default alfresco database schema name.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-change-default-alfresco-database-schema-name/m-p/227195#M180325</link>
      <description>Hi,In usual alfresco installation or setup, db schema is named alfresco only. I want to change it to say alfresco2.How can i do it?Which configuration files i need to change for this?TIA.</description>
      <pubDate>Tue, 12 Jan 2010 06:12:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-change-default-alfresco-database-schema-name/m-p/227195#M180325</guid>
      <dc:creator>dynamolalit</dc:creator>
      <dc:date>2010-01-12T06:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can i change default alfresco database schema name.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-change-default-alfresco-database-schema-name/m-p/227196#M180326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if u are using version3.2 then u can change standard database in the alfresco-global.properties (tomcat/shared/classes)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if u are using a older version, u have to edit the custom-repositories.properties file found in extension folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also after having edited the file u have to create a database with that same name so that alfresco can connect with it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 09:01:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-change-default-alfresco-database-schema-name/m-p/227196#M180326</guid>
      <dc:creator>sukumarpant</dc:creator>
      <dc:date>2010-01-12T09:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can i change default alfresco database schema name.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-change-default-alfresco-database-schema-name/m-p/227197#M180327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using alfresco 3.1.1 over JBoss 4.3.2 GA.I tried the way u informed, its working. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 05:38:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-change-default-alfresco-database-schema-name/m-p/227197#M180327</guid>
      <dc:creator>dynamolalit</dc:creator>
      <dc:date>2010-01-13T05:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can i change default alfresco database schema name.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-change-default-alfresco-database-schema-name/m-p/227198#M180328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two different schemas created (and old one "Schema-1" &amp;amp; fresh one "Schema-2") on the same database. Now I want to upgrade Alfresco to a newer version and wants it to connect to Schema-2. My database is SQL Server 2005. I set the default schema to Schema-2 using "hibernate.default_schema" property in alfresco-global.properties (my database config is the same as i just created a new schema in the same database). But the upgrade failed with the error "There is already an object named 'alf_applied_patch' in the database."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like Alfresco scripts does not use the Schema name and because of which the upgrade was actually performed on Schema-1 where I had installed an earlier version of Alfresco. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure why "hibernate.default_schema" did not have any effect. Does it holds good only for Oracle?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jerry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 17:38:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-change-default-alfresco-database-schema-name/m-p/227198#M180328</guid>
      <dc:creator>unknown-user</dc:creator>
      <dc:date>2010-09-02T17:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can i change default alfresco database schema name.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-change-default-alfresco-database-schema-name/m-p/227199#M180329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes hibernate.default_schema is a "special" setting for Oracle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On 3.3 and MySQL you just set the db.name in your alfresco-global.properties.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 17:43:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-change-default-alfresco-database-schema-name/m-p/227199#M180329</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-09-02T17:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can i change default alfresco database schema name.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-change-default-alfresco-database-schema-name/m-p/227200#M180330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the prompt reply…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How is it with SQL Server? Is db.name used as the schema name in queries? I thought it is used only for getting the connection. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have db.url property configured in alfresco-global.properties to jdbc:jtds:sqlserver://&amp;lt;db_host_name&amp;gt;:&amp;lt;port&amp;gt;/alfresco and the "db.name" property is commented. So, if I un-comment db.name and give "Schema-2" as the value, will Alfresco create the objects in Schema-2? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please clarify? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 18:18:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-change-default-alfresco-database-schema-name/m-p/227200#M180330</guid>
      <dc:creator>unknown-user</dc:creator>
      <dc:date>2010-09-02T18:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can i change default alfresco database schema name.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-change-default-alfresco-database-schema-name/m-p/227201#M180331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes.&amp;nbsp;&amp;nbsp; Put your db.name in place of "alfresco".&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's more information in the jtds FAQ.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://jtds.sourceforge.net/faq.html#urlFormat" rel="nofollow noopener noreferrer"&gt;http://jtds.sourceforge.net/faq.html#urlFormat&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 19:17:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-change-default-alfresco-database-schema-name/m-p/227201#M180331</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-09-02T19:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can i change default alfresco database schema name.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-change-default-alfresco-database-schema-name/m-p/227202#M180332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the information. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me make sure I understand it correctly. Here is my setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Database (name = 'alfresco')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;——-Schema-1 (the default schema (i.e. dbo)) - This schema has Alfresco 3.1.1 installed in it&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;——-Schema-2 (a new schema that I created) - Planning to install Alfresco 3.3.1 in this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please note that in my setup, there is only one "database" but two different "Schemas" in it. Is this setup correct? If so, how will I point Alfresco to "Schema-2"? If its 2 different "databases" altogether, I know I can configure it through db.name property or through the db.url properties, but how will I tell Alfresco to connect to a specific schema in a database? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or, Am I supposed to create a totaly NEW database for the upgrade?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 20:01:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-change-default-alfresco-database-schema-name/m-p/227202#M180332</guid>
      <dc:creator>unknown-user</dc:creator>
      <dc:date>2010-09-02T20:01:16Z</dc:date>
    </item>
  </channel>
</rss>

