db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Jefferson <a...@datanucleus.org>
Subject Re: Detecting inconsistencies of mapped-by declarations?
Date Thu, 07 May 2009 16:47:59 GMT
> 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
You could have the same as that example with 1-1 and a discriminator for 
determining the relation.

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

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

View raw message