Interface SmartPersistenceUnitInfo
- All Superinterfaces:
- PersistenceUnitInfo
- All Known Implementing Classes:
- MutablePersistenceUnitInfo
Extension of the standard JPA PersistenceUnitInfo interface, for advanced collaboration
 between Spring's 
LocalContainerEntityManagerFactoryBean
 and PersistenceUnitManager implementations.- Since:
- 3.0.1
- Author:
- Juergen Hoeller
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionReturn a list of managed Java packages, to be introspected by the persistence provider.voidsetPersistenceProviderPackageName(String persistenceProviderPackageName) Set the persistence provider's own package name, for exclusion from class transformation.Methods inherited from interface jakarta.persistence.spi.PersistenceUnitInfoaddTransformer, excludeUnlistedClasses, getClassLoader, getJarFileUrls, getJtaDataSource, getManagedClassNames, getMappingFileNames, getNewTempClassLoader, getNonJtaDataSource, getPersistenceProviderClassName, getPersistenceUnitName, getPersistenceUnitRootUrl, getPersistenceXMLSchemaVersion, getProperties, getSharedCacheMode, getTransactionType, getValidationMode
- 
Method Details- 
getManagedPackagesReturn a list of managed Java packages, to be introspected by the persistence provider. Typically found through scanning but not exposable throughPersistenceUnitInfo.getManagedClassNames().- Returns:
- a list of names of managed Java packages (potentially empty)
- Since:
- 4.1
 
- 
setPersistenceProviderPackageNameSet the persistence provider's own package name, for exclusion from class transformation.
 
-