persistence@glassfish.java.net

TopLink equivalent to Hibernate delete-orphan cascade type

From: Jon Miller <jemiller_at_uchicago.edu>
Date: Thu, 4 Jan 2007 12:17:06 -0600

Hi all,

Hibernate has a cascade type named "delete-orphan" that will delete entities
from the database that were removed from an entity's collection when it is
persisted. I don't see an equivalent in JPA. I take it you just have to do
it manually? Or, is there a TopLink extension that will do this?

Jon