Hi Andy,

On May 7, 2009, at 9:47 AM, Andy Jefferson wrote:

Should the implementation throw an error in such situations, warning the
user of the erroneous metadata?

Shared FK relations are a perfectly valid thing to have IMHO
http://www.datanucleus.org/products/accessplatform_1_1/jdo/orm/one_to_many_collection.html#shared_fk
You could have the same as that example with 1-1 and a discriminator for
determining the relation.

In the absence of the datanucleus extension, it's an error, right? i.e., there's no standard way to implement this.

Craig


The place of an ORM spec is to standardise particular relation types, not to
prevent other ones.


--
Andy  (DataNucleus - http://www.datanucleus.org)

Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:[email protected]
P.S. A good JDO? O, Gasp!

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to