<?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: Persisting variables that are long Strings throws Exception in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/persisting-variables-that-are-long-strings-throws-exception/m-p/88483#M60037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Create a bytearray from it…. That way it is stored in te bytearray table which does not have te limit of 4000 chars. The other solution is to change the table definition…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2012 18:23:17 GMT</pubDate>
    <dc:creator>ronald_van_kuij</dc:creator>
    <dc:date>2012-09-24T18:23:17Z</dc:date>
    <item>
      <title>Persisting variables that are long Strings throws Exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persisting-variables-that-are-long-strings-throws-exception/m-p/88482#M60036</link>
      <description>Hi all,I am running the Activiti engine against H2 database with history level set to 'full'. When I set a variable with a value which is a large XML string, I get the following exception. First of all, is this just specific to H2 and will it go away if I move to PostGres/Oracle? If not, how can I s</description>
      <pubDate>Mon, 24 Sep 2012 18:12:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persisting-variables-that-are-long-strings-throws-exception/m-p/88482#M60036</guid>
      <dc:creator>jmaru</dc:creator>
      <dc:date>2012-09-24T18:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Persisting variables that are long Strings throws Exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persisting-variables-that-are-long-strings-throws-exception/m-p/88483#M60037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Create a bytearray from it…. That way it is stored in te bytearray table which does not have te limit of 4000 chars. The other solution is to change the table definition…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 18:23:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persisting-variables-that-are-long-strings-throws-exception/m-p/88483#M60037</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-09-24T18:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Persisting variables that are long Strings throws Exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persisting-variables-that-are-long-strings-throws-exception/m-p/88484#M60038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are there any side effects of removing the limit of 4000? Preferably, I would rather not have a limit but I understand that removing the limit could affect things like indices. So is there anything internal that depends on the limit 4000 for the "text_" column in ACT_HI_DETAIL?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For more context we're using Postgres, which shouldn't make a difference, and getting the a similar error: "org.postgresql.util.PSQLException: ERROR: value too long for type character varying(4000)". After completing a task it tries to insert all our data into the "text_" column of ACT_HI_DETAIL.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 20:30:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persisting-variables-that-are-long-strings-throws-exception/m-p/88484#M60038</guid>
      <dc:creator>adevore</dc:creator>
      <dc:date>2016-05-27T20:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Persisting variables that are long Strings throws Exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persisting-variables-that-are-long-strings-throws-exception/m-p/88485#M60039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Anton,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LongString has changed during the last 3 years. Are you aware of these changes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g. &lt;/SPAN&gt;&lt;A href="https://forums.activiti.org/content/insert-acthivarinst-causes-ora-01401-inserted-value-too-large-column" rel="nofollow noopener noreferrer"&gt;https://forums.activiti.org/content/insert-acthivarinst-causes-ora-01401-inserted-value-too-large-column&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 09:35:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persisting-variables-that-are-long-strings-throws-exception/m-p/88485#M60039</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-05-30T09:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Persisting variables that are long Strings throws Exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persisting-variables-that-are-long-strings-throws-exception/m-p/88486#M60040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I wasn't aware of that article but unless the fix introduced works with Postgres then I don't see how it would help. We're on version 5.19.0 of Activiti which I believe is higher than the version in that forum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We haven't written any code to touch ACT_HI_DETAIL specifically, this is internal to Activiti in terms of how it tries to complete a User Task. We try to complete a task and Activiti attempts to store all the information from a form in the "text_" column in ACT_HI_DETAIL. I'm simply asking if there is a known reason for setting a limit to 4000 characters and what are the repercussions of removing that limit.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 20:24:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persisting-variables-that-are-long-strings-throws-exception/m-p/88486#M60040</guid>
      <dc:creator>adevore</dc:creator>
      <dc:date>2016-06-01T20:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Persisting variables that are long Strings throws Exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persisting-variables-that-are-long-strings-throws-exception/m-p/88487#M60041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Anton,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure now (it was a long time ago) :-), but oracle has limit for varchar2 column size (2000 or 4000 chars). That's why there is this limit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 07:02:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persisting-variables-that-are-long-strings-throws-exception/m-p/88487#M60041</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-06-02T07:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Persisting variables that are long Strings throws Exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persisting-variables-that-are-long-strings-throws-exception/m-p/88488#M60042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, but I'm using Postgres, not Oracle. So it sounds like there is no significant reason for the limit and no negative side effects or removing the limit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anton&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 17:14:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persisting-variables-that-are-long-strings-throws-exception/m-p/88488#M60042</guid>
      <dc:creator>adevore</dc:creator>
      <dc:date>2016-06-03T17:14:18Z</dc:date>
    </item>
  </channel>
</rss>

