Interface PersistenceContextValidator

All Known Implementing Classes:
InstanceCreationOfAbstractTypeValidator, NullableAttributePersistenceContextValidator, RequiredAttributePersistenceContextValidator

public interface PersistenceContextValidator
Validates the persistence context.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Validates the context is valid before persistence.
  • Method Details

    • validate

      void validate(PersistenceContext context)
      Validates the context is valid before persistence. If the context is not valid, an exception will be raised.
      Parameters:
      context - the context to validate