Hi Andy, On May 7, 2009, at 9:47 AM, Andy Jefferson wrote:
Should the implementation throw an error in such situations, warning theuser 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_fkYou could have the same as that example with 1-1 and a discriminator fordetermining 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 toprevent 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!
smime.p7s
Description: S/MIME cryptographic signature
