<?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: Possible bug when using MS-SQL server configuration in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/possible-bug-when-using-ms-sql-server-configuration/m-p/172806#M125992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hmm it is a right fix for your use case - but more generically Im wondering if it wouldn't&amp;nbsp; cause issues for people … i mean what if there is a prefix AND one without prefix … ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2014 10:28:17 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2014-03-10T10:28:17Z</dc:date>
    <item>
      <title>Possible bug when using MS-SQL server configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/possible-bug-when-using-ms-sql-server-configuration/m-p/172804#M125990</link>
      <description>Hi all,&amp;nbsp; when I use this configuration:&amp;lt;bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="dataSource" ref="dataSource"/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="transactionManager" ref="transactionManager"/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property</description>
      <pubDate>Mon, 03 Mar 2014 16:17:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/possible-bug-when-using-ms-sql-server-configuration/m-p/172804#M125990</guid>
      <dc:creator>tommyalf</dc:creator>
      <dc:date>2014-03-03T16:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Possible bug when using MS-SQL server configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/possible-bug-when-using-ms-sql-server-configuration/m-p/172805#M125991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I solve it. I change DbSqlSession (5.15-SNAPSHOT) :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;…&lt;BR /&gt;public boolean isEngineTablePresent(){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return isTablePresent("ACT_RU_EXECUTION") || isTablePresent(prependDatabaseTablePrefix("ACT_RU_EXECUTION"));&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp; public boolean isHistoryTablePresent(){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return isTablePresent("ACT_HI_PROCINST")&amp;nbsp; || isTablePresent(prependDatabaseTablePrefix("ACT_HI_PROCINST"));&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp; public boolean isIdentityTablePresent(){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return isTablePresent("ACT_ID_USER")&amp;nbsp;&amp;nbsp; || isTablePresent(prependDatabaseTablePrefix("ACT_ID_USER"));&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; public boolean isTablePresent(String tableName) {&lt;BR /&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; tableName = prependDatabaseTablePrefix(tableName);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connection connection = null;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; try {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; connection = sqlSession.getConnection();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DatabaseMetaData databaseMetaData = connection.getMetaData();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ResultSet tables = null;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String schema = this.connectionMetadataDefaultSchema;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (dbSqlSessionFactory.getDatabaseSchema()!=null) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; schema = dbSqlSessionFactory.getDatabaseSchema();&lt;BR /&gt;…&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you think?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 16:46:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/possible-bug-when-using-ms-sql-server-configuration/m-p/172805#M125991</guid>
      <dc:creator>tommyalf</dc:creator>
      <dc:date>2014-03-03T16:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Possible bug when using MS-SQL server configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/possible-bug-when-using-ms-sql-server-configuration/m-p/172806#M125992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hmm it is a right fix for your use case - but more generically Im wondering if it wouldn't&amp;nbsp; cause issues for people … i mean what if there is a prefix AND one without prefix … ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 10:28:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/possible-bug-when-using-ms-sql-server-configuration/m-p/172806#M125992</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-03-10T10:28:17Z</dc:date>
    </item>
  </channel>
</rss>

