|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.dynamic.DynamicHelper org.eclipse.persistence.jpa.dynamic.JPADynamicHelper
public class JPADynamicHelper
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 |
---|
public JPADynamicHelper(EntityManagerFactory emf)
public JPADynamicHelper(EntityManager em)
Method Detail |
---|
public void addTypes(boolean createMissingTables, boolean generateFKConstraints, DynamicType... types)
addTypes
in class DynamicHelper
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |