Java org.springframework.orm.jpa.persistenceunit DefaultPersistenceUnitManager fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.orm.jpa.persistenceunit DefaultPersistenceUnitManager fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.orm.jpa.persistenceunit DefaultPersistenceUnitManager.

The text is from its open source code.

Subclass

org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager has subclasses.
Click this link to see all its subclasses.

Constructor

Method

voidafterPropertiesSet()
voidpreparePersistenceUnitInfos()
Prepare the PersistenceUnitInfos according to the configuration of this manager: scanning for persistence.xml files, parsing all matching files, configuring and post-processing them.
voidsetDefaultDataSource(@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 .
voidsetPersistenceUnitPostProcessors(@Nullable PersistenceUnitPostProcessor... postProcessors)
Set the PersistenceUnitPostProcessors to be applied to each PersistenceUnitInfo that has been parsed by this manager.
voidsetPersistenceXmlLocation(String persistenceXmlLocation)
Specify the location of the persistence.xml files to load.
StringtoString()
Returns a string representation of the object.