I'm implementing two ejb's. one is Order and the other is OrderLine. The relationship is unidirectional. Has anyone an example that runs with JBOSS ? I tried different things but I can' get the solution !
OrderLine has a compound primary key (orderId and lineNumber). I need to have the field OrderId in the table or is created by the container ? (sometimes I get the error "duplicated fields"). Does I need to specify he field orderId of OrderLine in ejb-jar.xml and jbosscmp-jdbc as cmp ?
any help ?
I haven't found ANY place where they explain well how to do it !