public class EntityManagerService extends Object
Constructor and Description |
---|
EntityManagerService() |
Modifier and Type | Method and Description |
---|---|
Map<String,javax.persistence.EntityManagerFactory> |
getEntityManagerFactories()
Returns all factories
|
javax.persistence.EntityManagerFactory |
getEntityManagerFactory(String strPoolName)
Gets an Entity Manager Factory for a given pool name
|
void |
setMapFactories(Map<String,javax.persistence.EntityManagerFactory> mapFactories)
Sets the map of factories (injected in core_context.xml)
|
public void setMapFactories(Map<String,javax.persistence.EntityManagerFactory> mapFactories)
mapFactories
- The factories mappublic Map<String,javax.persistence.EntityManagerFactory> getEntityManagerFactories()
public javax.persistence.EntityManagerFactory getEntityManagerFactory(String strPoolName)
strPoolName
- The name of the persistence pool nameCopyright © 2020 City of Paris. All rights reserved.