Hi,
I am evaluating different JPA implementations and wonder about "delete-orphan" feature. Seems that all major pre-JPA ORM frameworks (hibernate, kodo, toplink, jdo) recognized need for such a feature.
Despite existing experience, the feature is missing in JPA spec, effectivelly breaking Rich Domain Model idea (any method possibly deleting an object needs an EntityManager instance).
This is in sharp conflict with EntityManager planned use (EntityManager is meant for use out of managed environment as well).
Please, can someone explain me what arguments had JPA commitee?
Exist any links which could help me understand situation in this area?
thanks martin
|