public class JoaFipEntityManagerFactory extends Object implements javax.persistence.EntityManagerFactory
Constructor and Description |
---|
JoaFipEntityManagerFactory(String emName,
Map map) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
javax.persistence.EntityManager |
createEntityManager() |
javax.persistence.EntityManager |
createEntityManager(Map map) |
javax.persistence.Cache |
getCache() |
javax.persistence.criteria.CriteriaBuilder |
getCriteriaBuilder() |
javax.persistence.metamodel.Metamodel |
getMetamodel() |
javax.persistence.PersistenceUnitUtil |
getPersistenceUnitUtil() |
Map<String,Object> |
getProperties() |
static javax.persistence.EntityManagerFactory |
instance(String emName,
Map map) |
boolean |
isOpen() |
public javax.persistence.EntityManager createEntityManager()
createEntityManager
in interface javax.persistence.EntityManagerFactory
public javax.persistence.EntityManager createEntityManager(Map map)
createEntityManager
in interface javax.persistence.EntityManagerFactory
public void close()
close
in interface javax.persistence.EntityManagerFactory
public boolean isOpen()
isOpen
in interface javax.persistence.EntityManagerFactory
public static javax.persistence.EntityManagerFactory instance(String emName, Map map)
map
- emName
- public javax.persistence.Cache getCache()
getCache
in interface javax.persistence.EntityManagerFactory
public javax.persistence.criteria.CriteriaBuilder getCriteriaBuilder()
getCriteriaBuilder
in interface javax.persistence.EntityManagerFactory
public javax.persistence.metamodel.Metamodel getMetamodel()
getMetamodel
in interface javax.persistence.EntityManagerFactory
public javax.persistence.PersistenceUnitUtil getPersistenceUnitUtil()
getPersistenceUnitUtil
in interface javax.persistence.EntityManagerFactory
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.