javax.persistence
Class Persistence
java.lang.Object
javax.persistence.Persistence
public class Persistence
- extends Object
Bootstrap class to obtain EntityManagerFactory
references.
Contains Geronimo implemented code as required by the JPA spec.
- Version:
- $Rev: 924793 $ $Date: 2010-03-18 10:14:34 -0400 (Thu, 18 Mar 2010) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
providers
@Deprecated
protected static final Set<PersistenceProvider> providers
- Deprecated.
PERSISTENCE_PROVIDER
@Deprecated
public static final String PERSISTENCE_PROVIDER
- Deprecated.
- See Also:
- Constant Field Values
Persistence
public Persistence()
createEntityManagerFactory
public static EntityManagerFactory createEntityManagerFactory(String persistenceUnitName)
createEntityManagerFactory
public static EntityManagerFactory createEntityManagerFactory(String persistenceUnitName,
Map properties)
- Geronimo implementation specific code
getPersistenceUtil
public static PersistenceUtil getPersistenceUtil()
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.