No answer on this one?
Basically, I have two issues:
1. When we set a detached entity bean's children list to null or empty list, why will it cause an update in database?
2. Why specifically TransactionAttribute.NOT_SUPPORTED annotation on the function that processes the detached entity bean doesn't prevent the update action?
Can someone please help? Thanks.
-Zihong
Have you tried using @FlushMode(FlushModeType.NEVER)
instead ?