Interface EntityManagerFactoryCustomizer
- All Known Implementing Classes:
StatementLoggingCustomizer
public interface EntityManagerFactoryCustomizer
A customizer interface for the EntityManager factories. Register an implementation of this interface as a Spring
bean, and it'll be picked up automatically.
Multiple customizers could be registered and all of them will be picked up by the application.
The order in which the customizations are applied is not guaranteed.
Multiple customizers could be registered and all of them will be picked up by the application.
The order in which the customizations are applied is not guaranteed.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionAdditional packages to scan, for example in case of custom modules.default Set<org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor> AdditionalPersistenceUnitPostProcessorconfiguration in case customizations are required.Additional vendor properties to be passed to EclipseLink; useful in case of fine-tuning.
-
Method Details
-
additionalPackagesToScan
Additional packages to scan, for example in case of custom modules.- Returns:
- a Set of package names, not null
-
additionalVendorProperties
Additional vendor properties to be passed to EclipseLink; useful in case of fine-tuning.- Returns:
- a Set of vendor properties, not null
-
additionalPersistenceUnitPostProcessors
default Set<org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor> additionalPersistenceUnitPostProcessors()AdditionalPersistenceUnitPostProcessorconfiguration in case customizations are required.- Returns:
- Set of PersistenceUnitPostProcessors, not null
-