<?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: association child multiplicity has been violated in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/association-child-multiplicity-has-been-violated/m-p/18608#M8514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One possibility could be to do with the fact that integrity checks are performed at the end of a transaction (i.e. pre-commit).&amp;nbsp; If you create your parent and child nodes in seperate transactions (which will be the default, if you don't explicitly start a user transaction) then an integrity exception will occur.&amp;nbsp; This is because the parent will have been created in the first transaction without a child - and your association definition is 1..1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jan 2006 16:52:17 GMT</pubDate>
    <dc:creator>davidc</dc:creator>
    <dc:date>2006-01-04T16:52:17Z</dc:date>
    <item>
      <title>association child multiplicity has been violated</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/association-child-multiplicity-has-been-violated/m-p/18606#M8512</link>
      <description>hi,i have defined my xml &amp;lt;child-association name="cube:contains1"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;source&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mandatory&amp;gt;true&amp;lt;/mandatory&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;many&amp;gt;false&amp;lt;/many&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/source&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;target&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;c</description>
      <pubDate>Sat, 24 Dec 2005 17:13:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/association-child-multiplicity-has-been-violated/m-p/18606#M8512</guid>
      <dc:creator>pmarreddy</dc:creator>
      <dc:date>2005-12-24T17:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: association child multiplicity has been violated</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/association-child-multiplicity-has-been-violated/m-p/18607#M8513</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;The target of your association is a &lt;/SPAN&gt;&lt;STRONG&gt;cube:exam&lt;/STRONG&gt;&lt;SPAN&gt;, but I can't see the definition for it.&amp;nbsp; Is the &lt;/SPAN&gt;&lt;STRONG&gt;cube:contains1&lt;/STRONG&gt;&lt;SPAN&gt; assocation defined in &lt;/SPAN&gt;&lt;STRONG&gt;cube:exam&lt;/STRONG&gt;&lt;SPAN&gt;?&amp;nbsp; If that were the case, then whenever you added a child &lt;/SPAN&gt;&lt;STRONG&gt;cube:exam&lt;/STRONG&gt;&lt;SPAN&gt;, you would have to add a child for that and a child for that and so on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have specified that all &lt;/SPAN&gt;&lt;STRONG&gt;cube:exam&lt;/STRONG&gt;&lt;SPAN&gt; instances must have exactly two &lt;/SPAN&gt;&lt;STRONG&gt;cube:contains&lt;/STRONG&gt;&lt;SPAN&gt; associations joined to it.&amp;nbsp; One coming from a parent and another going to a child.&amp;nbsp; The &lt;/SPAN&gt;&lt;EM&gt;mandatory&lt;/EM&gt;&lt;SPAN&gt; element indicates whether the association is required to exist or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you could put all the elements of the model up, then we could say for sure what is causing the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2006 15:57:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/association-child-multiplicity-has-been-violated/m-p/18607#M8513</guid>
      <dc:creator>derek</dc:creator>
      <dc:date>2006-01-04T15:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: association child multiplicity has been violated</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/association-child-multiplicity-has-been-violated/m-p/18608#M8514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One possibility could be to do with the fact that integrity checks are performed at the end of a transaction (i.e. pre-commit).&amp;nbsp; If you create your parent and child nodes in seperate transactions (which will be the default, if you don't explicitly start a user transaction) then an integrity exception will occur.&amp;nbsp; This is because the parent will have been created in the first transaction without a child - and your association definition is 1..1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2006 16:52:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/association-child-multiplicity-has-been-violated/m-p/18608#M8514</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2006-01-04T16:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: association child multiplicity has been violated</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/association-child-multiplicity-has-been-violated/m-p/18609#M8515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thank u for ur reply's, i will chek it out.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2006 05:06:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/association-child-multiplicity-has-been-violated/m-p/18609#M8515</guid>
      <dc:creator>pmarreddy</dc:creator>
      <dc:date>2006-01-07T05:06:03Z</dc:date>
    </item>
  </channel>
</rss>

