Oh ya, just incase you were not clear on my last mail, you need to define
a class that encapsulates your keys and then use that classname in your
descriptor.  In the 1.1 spec there is no way other way to use a compound
primary key, I can not say for 2.0+.

--jason


On Sat, 23 Jun 2001, Devraj Mukherjee wrote:

> Hi all,
>
> I am trying to create a CMP Entity Bean where I need to define a
> combination of more than one field as the primary key for the table, I was
> wanting to know how do we define this in the deployment descriptors.
>
> I am a JBOSS 2.2.2 user with the default installation with Tomcat. Sorry I
> didn't mention this in my last email.
>
> Thank you. Regards,
>
> Devraj
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to