EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.jpa.dynamic
Class JPADynamicHelper

java.lang.Object
  extended by org.eclipse.persistence.dynamic.DynamicHelper
      extended by org.eclipse.persistence.jpa.dynamic.JPADynamicHelper

public class JPADynamicHelper
extends DynamicHelper

Author:
dclarke
Since:
EclipseLink 1.2

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.persistence.dynamic.DynamicHelper
DynamicHelper.SessionCustomizer
 
Field Summary
 
Fields inherited from class org.eclipse.persistence.dynamic.DynamicHelper
fqClassnameToDescriptor, session
 
Constructor Summary
JPADynamicHelper(EntityManager em)
           
JPADynamicHelper(EntityManagerFactory emf)
           
 
Method Summary
 void addTypes(boolean createMissingTables, boolean generateFKConstraints, DynamicType... types)
          Add one or more EntityType instances to a session and optionally generate needed tables with or without FK constraints.
 
Methods inherited from class org.eclipse.persistence.dynamic.DynamicHelper
getDynamicClassLoader, getSession, getType, getType, getType, newDynamicEntity, newReadAllQuery, newReadObjectQuery, newReportQuery, removeType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPADynamicHelper

public JPADynamicHelper(EntityManagerFactory emf)

JPADynamicHelper

public JPADynamicHelper(EntityManager em)
Method Detail

addTypes

public void addTypes(boolean createMissingTables,
                     boolean generateFKConstraints,
                     DynamicType... types)
Add one or more EntityType instances to a session and optionally generate needed tables with or without FK constraints.

Overrides:
addTypes in class DynamicHelper

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference