0 Replies Latest reply on Jul 14, 2003 10:11 AM by Panagiotis Korros

    "This collection is a read-only" when adding to a cmr relati

    Panagiotis Korros Newbie

      I get the "This collection is a read-only" when i try add a CMP Entity bean to a cmr relation. This code used to work great in jboss 3.0.6.

      The code goes like:

      Collection metaDataCol = newNode.getMetadata();

      MetaDataLocal mtl = metaDataHome.create(...);

      and here i get an EJBException with "This collection is a read-only" message.

      Is it a jboss error? Can anyone help on how to bypass the problem?

      I am using JBoss 3.2.1 with Sun j2 sdk 1.4.2 on windows 2000 Server.