On 05/08/2008, at 11:35 PM, Marcin Skladaniec wrote:
> I'm now confused with vertical-horizontal naming. You say vertical,
> jira https://issues.apache.org/cayenne/browse/CAY-795 says
> horizontal. I guess we talk about the same thing anyway, but just to
> be sure: I'm trying to model a database schema where there are 3
> tables: Artwork, Painting and Sculpture.
> Artwork is an abstract entity with its own table
> Painting and Sculpture are extending Artwork, but have their own
> tables as well.
> You are suggesting that both superclass and subclass should have PK,
> this means yet another table in required to link the two tables.
> This seems odd to me as the relationship is simple 1..1, is that a
> requirement of JPA ?
> I'm reading up on JPA, but I cannot find it.
I'll have a bit of a chat to Marcin about this on the phone and get
him up to speed where this was left off.... I've got some
documentation to show him before we need to bring this back on the list.
Ari
-------------------------->
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001 fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
This archive was generated by hypermail 2.0.0 : Tue Aug 05 2008 - 09:46:34 EDT