persistence@glassfish.java.net

Questions about 1597 implementation

From: Markus Fuchs <Markus.Fuchs_at_Sun.COM>
Date: Tue, 13 Mar 2007 18:14:42 -0700

Hi Gordon,

I have a couple of questions about the implementation for issue 1597.
Could you please take a look?

1. Why have all the queries in DescriptorQueryManager the property
isUserDefined == true? Other (non-cached) queries created during commit
have isUserDefined == false. Can the queries in DescriptorQueryManager
be user-defined? (This is resolved, but I'm wondering what the property
isUserDefined means...)
2. Does preDelete have to distinguish between the owning / non-owning
side of the relationship?
3. Does preDelete have to distinguish between privatly owned/non
privately owned parts?
4. What if the referenced side is removed first in a uni-directional
relationship? (The referenced side doesn't know, if there is a
referencing instance)

My current implementation is attached, if you're interested.

Thanks!

-- markus.