org.springframework.orm.jpa.EntityManagerFactoryInfo |
Known Indirect Subclasses |
Metadata interface for a Spring-managed JPA EntityManagerFactory.
This facility can be obtained from Spring-managed EntityManagerFactory proxies through casting the EntityManagerFactory handle to this interface.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the ClassLoader that the application's beans are loaded with.
| |||||||||||
Return the JDBC DataSource that this EntityManagerFactory
obtains its JDBC Connections from.
| |||||||||||
Return the (potentially vendor-specific) EntityManager interface
that this factory's EntityManagers will implement.
| |||||||||||
Return the vendor-specific JpaDialect implementation for this
EntityManagerFactory, or
null if not known. | |||||||||||
Return the raw underlying EntityManagerFactory.
| |||||||||||
Return the underlying PersistenceProvider that the underlying
EntityManagerFactory was created with.
| |||||||||||
Return the PersistenceUnitInfo used to create this
EntityManagerFactory, if the in-container API was used.
| |||||||||||
Return the name of the persistence unit used to create this
EntityManagerFactory, or
null if it is an unnamed default. |
Return the ClassLoader that the application's beans are loaded with.
Proxies will be generated in this ClassLoader.
Return the JDBC DataSource that this EntityManagerFactory obtains its JDBC Connections from.
null
if not known
Return the (potentially vendor-specific) EntityManager interface that this factory's EntityManagers will implement.
A null
return value suggests that autodetection is supposed
to happen: either based on a target EntityManager
instance
or simply defaulting to javax.persistence.EntityManager
.
Return the vendor-specific JpaDialect implementation for this
EntityManagerFactory, or null
if not known.
Return the raw underlying EntityManagerFactory.
null
)
Return the underlying PersistenceProvider that the underlying EntityManagerFactory was created with.
null
if the standard JPA provider autodetection process
was used to configure the EntityManagerFactory
Return the PersistenceUnitInfo used to create this EntityManagerFactory, if the in-container API was used.
null
if the in-container contract was not used to
configure the EntityManagerFactory
Return the name of the persistence unit used to create this
EntityManagerFactory, or null
if it is an unnamed default.
If getPersistenceUnitInfo()
returns non-null, the result of
getPersistenceUnitName()
must be equal to the value returned by
PersistenceUnitInfo.getPersistenceUnitName()
.
getPersistenceUnitInfo()