public class JPADynamicHelper extends DynamicHelper
DynamicHelper.SessionCustomizerfqClassnameToDescriptor, session| Constructor and Description |
|---|
JPADynamicHelper(EntityManager em) |
JPADynamicHelper(EntityManagerFactory emf) |
| Modifier and Type | Method and 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.
|
getDynamicClassLoader, getSession, getType, getType, getType, newDynamicEntity, newReadAllQuery, newReadObjectQuery, newReportQuery, removeTypepublic JPADynamicHelper(EntityManagerFactory emf)
public JPADynamicHelper(EntityManager em)
public void addTypes(boolean createMissingTables,
boolean generateFKConstraints,
DynamicType... types)
addTypes in class DynamicHelper