CollectionOfObject doesn't work JDO-121. AI: Need feedback from Erik
or Andy.
Feedback : CollectionCollections has a field Object1 that is a
Collection<SimpleClass> embedded in the join table. The TCK is expecting a
schema with join table having columns for the FK back to the owner object,
and the fields for the element. JPOX looks at this from a different angle and
requires a PK on this join table and so, since we don't have an id for the
embedded SimpleClass, we add an "adapter index" column to form the PK. As has
been discussed in the past, the user has no obvious way of saying that they
don't want a PK applying to the join table. They have the <primary-key>
element but that is only currently for specifying the pk name.
There is a natural PK for the join table. It's a combination of the FK plus the column mapped to the id field. If this were defined to be the PK for the join table in the schema, would that work?