Class JPADynamicHelper
- java.lang.Object
-
- org.eclipse.persistence.dynamic.DynamicHelper
-
- 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
Constructors Constructor Description JPADynamicHelper(EntityManager em)
JPADynamicHelper(EntityManagerFactory emf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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 classDynamicHelper
-
-