Class JpaConfiguration

java.lang.Object
org.hibernate.cfg.Configuration
org.hibernate.tool.orm.jbt.internal.util.JpaConfiguration
All Implemented Interfaces:
ExtendedConfiguration

public class JpaConfiguration extends org.hibernate.cfg.Configuration implements ExtendedConfiguration
  • Constructor Summary

    Constructors
    Constructor
    Description
    JpaConfiguration(String persistenceUnit, Map<?,?> properties)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hibernate.cfg.Configuration
     
    org.hibernate.cfg.Configuration
    addFile(File file)
     
    org.hibernate.cfg.Configuration
     
    void
     
    org.hibernate.SessionFactory
     
    org.hibernate.cfg.Configuration
     
    org.hibernate.cfg.Configuration
     
    org.hibernate.cfg.Configuration
    configure(Document document)
     
    org.hibernate.mapping.PersistentClass
     
    Iterator<org.hibernate.mapping.PersistentClass>
     
     
    org.hibernate.boot.Metadata
     
    org.hibernate.boot.model.naming.ImplicitNamingStrategy
     
     
    Iterator<org.hibernate.mapping.Table>
     
    void
     
    void
     
    void
    setNamingStrategy(org.hibernate.boot.model.naming.ImplicitNamingStrategy namingStrategy)
     
    void
     
    org.hibernate.cfg.Configuration
     
    void
     

    Methods inherited from class org.hibernate.cfg.Configuration

    addAnnotatedClass, addAnnotatedClasses, addAttributeConverter, addAttributeConverter, addAttributeConverter, addAttributeConverter, addAttributeConverter, addAuxiliaryDatabaseObject, addCacheableFile, addCacheableFile, addCacheableFileStrictly, addDirectory, addEntityNameResolver, addFile, addInputStream, addJar, addPackage, addPackages, addResource, addSqlFunction, addURL, addXmlMapping, buildSessionFactory, configure, configure, getColumnOrderingStrategy, getCurrentTenantIdentifierResolver, getCustomEntityDirtinessStrategy, getEntityNotFoundDelegate, getImplicitNamingStrategy, getInterceptor, getNamedEntityGraphs, getNamedProcedureCallMap, getNamedQueries, getNamedSQLQueries, getPhysicalNamingStrategy, getProperties, getProperty, getSessionFactoryObserver, getSqlResultSetMappings, getStandardServiceRegistryBuilder, getStatementInspector, getTenantSchemaMapper, getXmlMappingBinderAccess, mergeProperties, registerFunctionContributor, registerTypeContributor, registerTypeOverride, registerTypeOverride, setColumnOrderingStrategy, setCredentials, setCurrentTenantIdentifierResolver, setCustomEntityDirtinessStrategy, setDatasource, setEntityNotFoundDelegate, setImplicitNamingStrategy, setInterceptor, setJdbcUrl, setPhysicalNamingStrategy, setProperty, setProperty, setProperty, setProperty, setProperty, setSchemaExportAction, setSessionFactoryObserver, setSharedCacheMode, setStatementInspector, setTenantSchemaMapper, setTransactionType, showSql

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JpaConfiguration

      public JpaConfiguration(String persistenceUnit, Map<?,?> properties)
  • Method Details

    • getMetadata

      public org.hibernate.boot.Metadata getMetadata()
    • buildSessionFactory

      public org.hibernate.SessionFactory buildSessionFactory()
      Overrides:
      buildSessionFactory in class org.hibernate.cfg.Configuration
    • setProperties

      public org.hibernate.cfg.Configuration setProperties(Properties properties)
      Overrides:
      setProperties in class org.hibernate.cfg.Configuration
    • addProperties

      public org.hibernate.cfg.Configuration addProperties(Properties properties)
      Overrides:
      addProperties in class org.hibernate.cfg.Configuration
    • buildMappings

      public void buildMappings()
      Specified by:
      buildMappings in interface ExtendedConfiguration
    • addFile

      public org.hibernate.cfg.Configuration addFile(File file)
      Overrides:
      addFile in class org.hibernate.cfg.Configuration
    • addClass

      public org.hibernate.cfg.Configuration addClass(Class pc)
      Overrides:
      addClass in class org.hibernate.cfg.Configuration
    • configure

      public org.hibernate.cfg.Configuration configure()
      Overrides:
      configure in class org.hibernate.cfg.Configuration
    • configure

      public org.hibernate.cfg.Configuration configure(Document document)
      Specified by:
      configure in interface ExtendedConfiguration
    • configure

      public org.hibernate.cfg.Configuration configure(File file)
      Overrides:
      configure in class org.hibernate.cfg.Configuration
    • setEntityResolver

      public void setEntityResolver(EntityResolver entityResolver)
      Specified by:
      setEntityResolver in interface ExtendedConfiguration
    • setNamingStrategy

      public void setNamingStrategy(org.hibernate.boot.model.naming.ImplicitNamingStrategy namingStrategy)
      Specified by:
      setNamingStrategy in interface ExtendedConfiguration
    • getPersistenceUnit

      public String getPersistenceUnit()
    • setPreferBasicCompositeIds

      public void setPreferBasicCompositeIds(boolean b)
      Specified by:
      setPreferBasicCompositeIds in interface ExtendedConfiguration
    • setReverseEngineeringStrategy

      public void setReverseEngineeringStrategy(RevengStrategy strategy)
      Specified by:
      setReverseEngineeringStrategy in interface ExtendedConfiguration
    • getClassMappings

      public Iterator<org.hibernate.mapping.PersistentClass> getClassMappings()
      Specified by:
      getClassMappings in interface ExtendedConfiguration
    • getClassMapping

      public org.hibernate.mapping.PersistentClass getClassMapping(String name)
      Specified by:
      getClassMapping in interface ExtendedConfiguration
    • getTableMappings

      public Iterator<org.hibernate.mapping.Table> getTableMappings()
      Specified by:
      getTableMappings in interface ExtendedConfiguration
    • getNamingStrategy

      public org.hibernate.boot.model.naming.ImplicitNamingStrategy getNamingStrategy()
      Specified by:
      getNamingStrategy in interface ExtendedConfiguration
    • getEntityResolver

      public EntityResolver getEntityResolver()
      Specified by:
      getEntityResolver in interface ExtendedConfiguration
    • readFromJDBC

      public void readFromJDBC()
      Specified by:
      readFromJDBC in interface ExtendedConfiguration