<?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: Altering Database/Tables for utf8mb4 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/altering-database-tables-for-utf8mb4/m-p/221015#M174145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to fix the issue with the keys not being able to be upgrade by changing from:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SET innodb_large_prefix=ON;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SET GLOBAL innodb_large_prefix=ON;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Once I made these changes I was able to manually insert emoji characters into the database using MySQLWorkbench but ran into an issue when I tried to follow the publish process via java code. The issue occurs when trying to parse the data into xml.&amp;nbsp; JDK 1.8 has an issue that cause the emojis to throw a xml parse issue. Here is a link to the exact error / location of the issue in stackoverflow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/31867818/java-xml-parser-with-emoji-character" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/31867818/java-xml-parser-with-emoji-character&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps anyone else who might be trying to do this. Have a great one!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2016 14:34:14 GMT</pubDate>
    <dc:creator>travis_wilson</dc:creator>
    <dc:date>2016-09-07T14:34:14Z</dc:date>
    <item>
      <title>Altering Database/Tables for utf8mb4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/altering-database-tables-for-utf8mb4/m-p/221013#M174143</link>
      <description>Hello,I'm looking to alter activiti to use utf8mb4 instead of utf8_bin. When running the following sql command:&amp;lt;sql&amp;gt;ALTER TABLE `activiti`.'ACT_RE_PROCDEF' CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;&amp;lt;sql&amp;gt;I get the following error: Error Code 1071. Specified key was to long; max</description>
      <pubDate>Mon, 08 Aug 2016 22:37:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/altering-database-tables-for-utf8mb4/m-p/221013#M174143</guid>
      <dc:creator>travis_wilson</dc:creator>
      <dc:date>2016-08-08T22:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Altering Database/Tables for utf8mb4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/altering-database-tables-for-utf8mb4/m-p/221014#M174144</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;It probably means that some of the varchar columns we are using should have less characters, like the RESOURCE_NAME_ column with varchar(4000). We don't have it on the roadmap yet, but if there's a lot of interest in it in the community we can add it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 08:09:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/altering-database-tables-for-utf8mb4/m-p/221014#M174144</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2016-08-10T08:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Altering Database/Tables for utf8mb4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/altering-database-tables-for-utf8mb4/m-p/221015#M174145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to fix the issue with the keys not being able to be upgrade by changing from:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SET innodb_large_prefix=ON;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SET GLOBAL innodb_large_prefix=ON;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Once I made these changes I was able to manually insert emoji characters into the database using MySQLWorkbench but ran into an issue when I tried to follow the publish process via java code. The issue occurs when trying to parse the data into xml.&amp;nbsp; JDK 1.8 has an issue that cause the emojis to throw a xml parse issue. Here is a link to the exact error / location of the issue in stackoverflow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/31867818/java-xml-parser-with-emoji-character" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/31867818/java-xml-parser-with-emoji-character&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps anyone else who might be trying to do this. Have a great one!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 14:34:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/altering-database-tables-for-utf8mb4/m-p/221015#M174145</guid>
      <dc:creator>travis_wilson</dc:creator>
      <dc:date>2016-09-07T14:34:14Z</dc:date>
    </item>
  </channel>
</rss>

