Class JPADynamicHelper

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

public class JPADynamicHelper extends DynamicHelper
Author:
dclarke
  • Constructor Details

    • JPADynamicHelper

      public JPADynamicHelper(jakarta.persistence.EntityManagerFactory emf)
    • JPADynamicHelper

      public JPADynamicHelper(jakarta.persistence.EntityManager em)
  • Method Details

    • 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