public class PersistenceManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PERSISTENCE_UNIT_NAME |
Constructor and Description |
---|
PersistenceManager() |
Modifier and Type | Method and Description |
---|---|
static void |
closeEntityManager() |
static javax.persistence.EntityManager |
getEntityManager() |
protected static void |
initializeEntityManagerFactory(String persistenceUnitName,
Properties properties) |
public static final String PERSISTENCE_UNIT_NAME
public static javax.persistence.EntityManager getEntityManager()
public static void closeEntityManager()
protected static void initializeEntityManagerFactory(String persistenceUnitName, Properties properties)
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.