Interface PersistenceContextValidator
- All Known Implementing Classes:
InstanceCreationOfAbstractTypeValidator,NullableAttributePersistenceContextValidator,RequiredAttributePersistenceContextValidator
public interface PersistenceContextValidator
Validates the persistence context.
-
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(PersistenceContext context) Validates the context is valid before persistence.
-
Method Details
-
validate
Validates the context is valid before persistence. If the context is not valid, an exception will be raised.- Parameters:
context- the context to validate
-