1 Reply Latest reply on Feb 18, 2003 6:05 PM by satheeshka

    1:N between CMP and BMP beans

    mhansen

      Hi,

      First of all. Is it possible to declare a 1:N relationship between a CMP bean and a BMP bean?

      I'm getting a deployment exception when deploying my beans. Apparently the BMP bean cannot be found in the relation. Any help is appreciated.

      15:16:37,566 WARN [ServiceController] Problem starting service jboss.j2ee:service=EJB,jndiName=CustomerHome
      org.jboss.deployment.DeploymentException: Entity: Account not found for: org.jboss.metadata.RelationshipRoleMetaData@8eae04
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaData.(JDBCRelationshipRoleMetaData.java:103)

        • 1. Re: 1:N between CMP and BMP beans
          satheeshka

          I have the same problem. Did you find an answer to this ?
          I cannot implement one of the beans as CMP since order of loading the relations is important for me . So in my application , most of the beans are CMPs ,but one of them is a BMP and I need to establish a uni-directional relation ship between my CMP and a BMP. Can I do that using CMR