- Enclosing interface:
public static class PersistenceContext.WithOption extends ObjectWrapper on a bean to also indicate if a bean has been deleted.
If a bean has been deleted then for the same persistence context is should not be able to be fetched from persistence context or L2 cache.
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
getBean()Return the bean (from the persistence context).
isDeleted()Return true if the bean was deleted.