Package com.broadleafcommerce.common.jpa
Class EntityManagerValidator
java.lang.Object
com.broadleafcommerce.common.jpa.EntityManagerValidator
Runtime validation of JPA configuration. Note, this is applied against application runtime and
the behavior is configured via
EntityManagerValidatorProperties
. Note, this validation
does not impact the validation performed during liquibase schema generation in
SchemaCompatibiltyUtility
.-
Constructor Summary
ConstructorDescriptionEntityManagerValidator
(jakarta.persistence.EntityManager entityManager, EntityManagerValidatorProperties properties) -
Method Summary
-
Constructor Details
-
EntityManagerValidator
public EntityManagerValidator(jakarta.persistence.EntityManager entityManager, EntityManagerValidatorProperties properties)
-
-
Method Details
-
init
@PostConstruct public void init()
-