We use generated
primary key classes and container managed relationships. The problem is,
the relationships complain that <primkey-field> is missing
from ejb-jar.xml. if we specify @ejb.bean primkey-field="..." then the
primary key classes don't get generated!
has
anyone else circumvented this catch-22 and used CMRs with generated primary
keys?
p.s.
EntityPkSubTask.matchesGenerationRules(...) deliberately doesn't generate a PK
if PkTagsHandler.classHasPrimkeyField(clazz) but removing this bit of code would
fix our problem...