Save This Page
Home » apache-openjpa-1.1.0-source » org.apache.openjpa » persistence » [javadoc | source]
org.apache.openjpa.persistence
public class: PersistenceProviderImpl [javadoc | source]
java.lang.Object
   org.apache.openjpa.persistence.PersistenceProviderImpl

All Implemented Interfaces:
    javax.persistence.spi.PersistenceProvider

Bootstrapping class that allows the creation of a stand-alone EntityManager .
Field Summary
static final  String CLASS_TRANSFORMER_OPTIONS     
Method from org.apache.openjpa.persistence.PersistenceProviderImpl Summary:
createContainerEntityManagerFactory,   createEntityManagerFactory,   createEntityManagerFactory,   getDefaultBrokerAlias,   newConfigurationImpl
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openjpa.persistence.PersistenceProviderImpl Detail:
 public OpenJPAEntityManagerFactory createContainerEntityManagerFactory(PersistenceUnitInfo pui,
    Map m) 
 public OpenJPAEntityManagerFactory createEntityManagerFactory(String name,
    Map m) 
 public OpenJPAEntityManagerFactory createEntityManagerFactory(String name,
    String resource,
    Map m) 
    Loads the entity manager specified by name, applying the properties in m as overrides to the properties defined in the XML configuration file for name. If name is null, this method loads the XML in the resource identified by resource, and uses the first resource found when doing this lookup, regardless of the name specified in the XML resource or the name of the jar that the resource is contained in. This does no pooling of EntityManagersFactories.
 protected String getDefaultBrokerAlias() 
 protected OpenJPAConfiguration newConfigurationImpl()