0 Replies Latest reply on Feb 27, 2003 9:35 PM by Mauricio Nagaoka

    Relation table is not being updated

    Mauricio Nagaoka Newbie

      Hello!

      I have 2 Entity Beans with many-to-many bidirectional relationship using relation-table mapping.
      If I 'pre-populate' their tables (using SQL statements), the get methods of the CMR fields work perfectly (on both sides). However, when I try to add a new element to a CMR field collection, the collection is updated but the relation table is not.
      Watching the JBoss log (set to DEBUG threshold), I have observed that no insert/delete/update statement is being executed over the relation table.
      I'm using JBoss 3.0.6 and XDoclet 1.2.0 beta 1.
      Does anybody had a similar problem? How could I fix it?

      Thanks in advance.

      Mauricio