Hello,

I have a question concerning advanced O/R-mapping.
Suppose you have three class A, B, C.  Suppose
that both A and B have a collection of C.  Suppose
furthermore that every C instance is in exactly
one of these collections.

When I map this to a relational database, I might want
to have four tables A, B, CA, CB, such that
CA contains those C instances that are associated to an
A instances (and analogously for B instead of A).

This way, the table in which a particular C instance
is stored, is determined at runtime.

OJB cannot do that, I think.  But is it an esoteric idea?
I have that situation in my application and I am a bit
disappointed that I have to split class C just because
I map it to a database.

Olli

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to