Discussions

EJB design: How to use composite primary key

  1. How to use composite primary key (1 messages)

    Urgent

    can someone help me about usage of composite primary key in j2ee in MVC architecture

    thanx in advance
  2. How to use composite primary key[ Go to top ]

    well u just have to deine a class which represents composite key (multi-columns) as a attributes of that class.

    class PurchasePK implements serializable
    {
      int productNo;
       int companyNo;
    }

    kapil