1 Reply Latest reply on Aug 6, 2002 6:18 PM by dsundstrom

    How can I do a many to many relation in JBoss 3.0

    fuweweu

      Where can I find a sample of many to many relation for CMP 2.x in JBoss 3.x?
      When I run my test, I get my remote interface and execute the method that returns a java.util.Set containing the other table data, then it throws:

      java.lang.reflect.UndeclaredThrowableException
      at $Proxy1.getDadoClips(Unknown Source)
      at br.com.mondo.spice.core.tests.TestBean.main(TestBean.java:65)
      Caused by: java.io.NotSerializableException: org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
      at java.rmi.MarshalledObject.(MarshalledObject.java:92)
      at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367)
      at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
      (......)


      thanks