1 Reply Latest reply on Jan 9, 2002 4:27 AM by Alex Koshterek

    Creating a entity with two primary key

    Elias Newbie


      Hi there
      My problem is: I have two tables with a only a primary key, but I have other table that is related with the other two tables. This table has two primary key and I want to create a entity bean. Can I define a method findByPrimaryKey with two params or does I have to define a object with two params?
      Can I define this entity as cmp?
      Thanks