I'm trying to port a sun tutorial into JBoss 4.0.4. Some of the CMP beans have a PK class whose fields refer to a composite PK in the corresponding table.
What I don't know is how to specify this in the jbosscmp-jdbc.xml file. In fact I'm asking if it's even possible to have composite primary keys for CMP beans in JBoss.
If so, how to do it. Here's my bean, its PK class & its table:
I thought that a @jboss.unknown-pk would do it but it's not possible to associate more than one column-name to it.
Thanks in advance.