<?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: Transaction will not role back with Annotation @Transaction in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/transaction-will-not-role-back-with-annotation-transaction/m-p/133725#M93916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes, everthing is fine. The method has to be public.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it is also described therein:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/4396284/does-spring-transactional-attribute-work-on-a-private-method" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/4396284/does-spring-transactional-attribute-work-on-a-private-method&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lars&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Feb 2013 11:02:11 GMT</pubDate>
    <dc:creator>larswillrich</dc:creator>
    <dc:date>2013-02-17T11:02:11Z</dc:date>
    <item>
      <title>Transaction will not role back with Annotation @Transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-will-not-role-back-with-annotation-transaction/m-p/133721#M93912</link>
      <description>Hi,this my first post and i'm currently working in transaction with spring and activiti &lt;IMG id="smileywink" class="emoticon emoticon-smileywink" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt; I have the Problem, that the Transaction will not role back, after there occurs an exception in the function, i witch i start the processinstance. But, if the Exception is in one of the ServicesTasks, the role</description>
      <pubDate>Tue, 12 Feb 2013 10:44:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-will-not-role-back-with-annotation-transaction/m-p/133721#M93912</guid>
      <dc:creator>larswillrich</dc:creator>
      <dc:date>2013-02-12T10:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction will not role back with Annotation @Transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-will-not-role-back-with-annotation-transaction/m-p/133722#M93913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; @Transactional&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private void start(boolean b) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Map&amp;lt;String, Object&amp;gt; variables = new HashMap&amp;lt;String, Object&amp;gt;();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; variables.put("employeeName", "testUser");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // running instance, till arriving the usertask&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProcessInstance startProcessInstanceByKey = runtimeService.startProcessInstanceByKey("Transaction",variables);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (b) throw new UnsupportedOperationException(startProcessInstanceByKey.getId().toString());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if private methods with @transactional are "intercepted" by default…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 15:36:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-will-not-role-back-with-annotation-transaction/m-p/133722#M93913</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-02-12T15:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction will not role back with Annotation @Transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-will-not-role-back-with-annotation-transaction/m-p/133723#M93914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes… thanks &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;. that was an error on the one hand, the other is, that the transaction method is not allowed invoke from the same bean. (without AOP)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards, lars&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 08:28:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-will-not-role-back-with-annotation-transaction/m-p/133723#M93914</guid>
      <dc:creator>larswillrich</dc:creator>
      <dc:date>2013-02-15T08:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction will not role back with Annotation @Transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-will-not-role-back-with-annotation-transaction/m-p/133724#M93915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So did it work out okay, without the private-method?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 13:04:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-will-not-role-back-with-annotation-transaction/m-p/133724#M93915</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-02-15T13:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction will not role back with Annotation @Transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-will-not-role-back-with-annotation-transaction/m-p/133725#M93916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes, everthing is fine. The method has to be public.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it is also described therein:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/4396284/does-spring-transactional-attribute-work-on-a-private-method" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/4396284/does-spring-transactional-attribute-work-on-a-private-method&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lars&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Feb 2013 11:02:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-will-not-role-back-with-annotation-transaction/m-p/133725#M93916</guid>
      <dc:creator>larswillrich</dc:creator>
      <dc:date>2013-02-17T11:02:11Z</dc:date>
    </item>
  </channel>
</rss>

