Joerg Lensing wrote:
hi experts,
i studied the junit-test to learn about mapping and querying. Although the documention says, the mapping can be used to both (ODMG(OQL-Queries) and PersistenceBroker)
Yes that's still true.
it seems to me, that there are differences. (e.g. org.apache.ojb.odmg.Article vs. org.apache.ojb.broker.Article) . Is there a general rule?
There is only exception: The semantics for cascding updates and deletes is different in ODMG and PB.
In ODMG you *must not* set auto-update="true" and also not auto-delete="true".
This sole difference is documented in tutorial3.
cheers, Thomas
thanx
joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
