public class UberCustomPersistenceProvider
extends org.hibernate.jpa.HibernatePersistenceProvider
This class must create an EntityManagerFactory that rely on our definition of a SessionFactory. Indeed we need to provide the session factory with extra functions and it must be done before the session factory is created. It is done by stuffing the HibernateConfiguration with our code (@see #{SquashEntityManagerFactoryBuilderImpl}).
| Constructor and Description |
|---|
UberCustomPersistenceProvider() |
| Modifier and Type | Method and Description |
|---|---|
javax.persistence.EntityManagerFactory |
createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo info,
Map properties) |
public javax.persistence.EntityManagerFactory createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo info,
Map properties)
createContainerEntityManagerFactory in interface javax.persistence.spi.PersistenceProvidercreateContainerEntityManagerFactory in class org.hibernate.jpa.HibernatePersistenceProviderCopyright © 2010–2016 Henix, henix.fr. All rights reserved.