| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EntityManagerFactoryInfo
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.
| Method Summary | |
|---|---|
|  ClassLoader | getBeanClassLoader()Return the ClassLoader that the application's beans are loaded with. | 
|  DataSource | getDataSource()Return the JDBC DataSource that this EntityManagerFactory obtains its JDBC Connections from. | 
|  Class<? extends javax.persistence.EntityManager> | getEntityManagerInterface()Return the (potentially vendor-specific) EntityManager interface that this factory's EntityManagers will implement. | 
|  JpaDialect | getJpaDialect()Return the vendor-specific JpaDialect implementation for this EntityManagerFactory, or nullif not known. | 
|  javax.persistence.EntityManagerFactory | getNativeEntityManagerFactory()Return the raw underlying EntityManagerFactory. | 
|  javax.persistence.spi.PersistenceProvider | getPersistenceProvider()Return the underlying PersistenceProvider that the underlying EntityManagerFactory was created with. | 
|  javax.persistence.spi.PersistenceUnitInfo | getPersistenceUnitInfo()Return the PersistenceUnitInfo used to create this EntityManagerFactory, if the in-container API was used. | 
|  String | getPersistenceUnitName()Return the name of the persistence unit used to create this EntityManagerFactory, or nullif
 it is an unnamed default. | 
| Method Detail | 
|---|
javax.persistence.EntityManagerFactory getNativeEntityManagerFactory()
null)javax.persistence.spi.PersistenceProvider getPersistenceProvider()
null if the standard JPA provider autodetection process
 was used to configure the EntityManagerFactoryjavax.persistence.spi.PersistenceUnitInfo getPersistenceUnitInfo()
null if the in-container contract was not used to
 configure the EntityManagerFactoryString getPersistenceUnitName()
null if
 it is an unnamed default. If getPersistenceUnitInfo()
 returns non-null, the return type of getPersistenceUnitName()
 must be equal to the value returned by
 PersistenceUnitInfo.getPersistenceUnitName().
getPersistenceUnitInfo(), 
PersistenceUnitInfo.getPersistenceUnitName()DataSource getDataSource()
null if not knownClass<? extends javax.persistence.EntityManager> getEntityManagerInterface()
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.
JpaDialect getJpaDialect()
null if not known.
ClassLoader getBeanClassLoader()
Proxies will be generated in this ClassLoader.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||