Class ClasspathScanningPersistenceUnitPostProcessor

java.lang.Object
org.springframework.data.jpa.support.ClasspathScanningPersistenceUnitPostProcessor
All Implemented Interfaces:
Aware, EnvironmentAware, ResourceLoaderAware, PersistenceUnitPostProcessor

public class ClasspathScanningPersistenceUnitPostProcessor extends Object implements PersistenceUnitPostProcessor, ResourceLoaderAware, EnvironmentAware
PersistenceUnitPostProcessor that will scan for classes annotated with Entity or MappedSuperclass and add them to the PersistenceUnit post processed. Beyond that JPA XML mapping files can be scanned as well by configuring a file name pattern.
Author:
Oliver Gierke, Thomas Darimont, Mark Paluch, David Madden