openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Rowe <charles.paisley.the.baby.crus...@gmail.com>
Subject Embedded relationships
Date Fri, 03 Apr 2009 13:57:36 GMT
Hello everyone:

I have a query about embedded relationships as defined in the V2 spec, and
OpenJPA's implementation of such.

Setup: Assume entity A embeds X.  X defines a relationship to another entity
B.

Can I define relationships such that:
- X's relationship is uni-directional to B?
- B's relationship is uni-directional to X?  or A?
- X's relationship owns a bi-directional with B's?
- B's relationship owns a bi-directional with X's?  or A's?

Please keep in mind when answering that X seemingly has no identity.

Thanks for your help..

Tom

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message