thank you for replay:)
kochcp wrote:
hibernate3 has adapted the EJB3 spec following delete criteria.
what's EJB3's delete criteria?
kochcp wrote:
I recommend writing custom delete sql/hql statements which have much better performance...
another less performant way is to just call delete on every object in a set, then null out the set, then delete the parent
in this way need I change the database DDL to change the reference to
be "ON DELETE CASCADE"?or I don't know how to write a single hql to
do the job..