Example usage for Java org.springframework.orm.jpa.persistenceunit DefaultPersistenceUnitManager fields, constructors, methods, implement or subclass
The text is from its open source code.
void | afterPropertiesSet() |
void | preparePersistenceUnitInfos() Prepare the PersistenceUnitInfos according to the configuration of this manager: scanning for persistence.xml files, parsing all matching files, configuring and post-processing them. |
void | setDefaultDataSource(@Nullable DataSource defaultDataSource) Specify the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database if none has been specified in persistence.xml . |
void | setPersistenceUnitPostProcessors(@Nullable PersistenceUnitPostProcessor... postProcessors) Set the PersistenceUnitPostProcessors to be applied to each PersistenceUnitInfo that has been parsed by this manager. |
void | setPersistenceXmlLocation(String persistenceXmlLocation) Specify the location of the persistence.xml files to load. |
String | toString() Returns a string representation of the object. |