Interface InFlightMetadataCollector

    • Method Detail

      • getEntityBindingMap

        java.util.Map<java.lang.String,​PersistentClass> getEntityBindingMap()
        Needed for SecondPass handling
      • addImport

        void addImport​(java.lang.String entityName,
                       java.lang.String rename)
                throws DuplicateMappingException
        Adds an import (HQL entity rename).
        Parameters:
        entityName - The entity name being renamed.
        rename - The rename
        Throws:
        DuplicateMappingException - If rename already is mapped to another entity name in this repository.
      • addCollectionBinding

        void addCollectionBinding​(Collection collection)
                           throws DuplicateMappingException
        Add collection mapping metadata to this repository.
        Parameters:
        collection - The collection metadata
        Throws:
        DuplicateMappingException - Indicates there was already an entry corresponding to the given collection role
      • addTable

        Table addTable​(java.lang.String schema,
                       java.lang.String catalog,
                       java.lang.String name,
                       java.lang.String subselect,
                       boolean isAbstract)
        Adds table metadata to this repository returning the created metadata instance.
        Parameters:
        schema - The named schema in which the table belongs (or null).
        catalog - The named catalog in which the table belongs (or null).
        name - The table name
        subselect - A select statement which defines a logical table, much like a DB view.
        isAbstract - Is the table abstract (i.e. not really existing in the DB)?
        Returns:
        The created table metadata, or the existing reference.
      • addDenormalizedTable

        Table addDenormalizedTable​(java.lang.String schema,
                                   java.lang.String catalog,
                                   java.lang.String name,
                                   boolean isAbstract,
                                   java.lang.String subselect,
                                   Table includedTable)
                            throws DuplicateMappingException
        Adds a 'denormalized table' to this repository.
        Parameters:
        schema - The named schema in which the table belongs (or null).
        catalog - The named catalog in which the table belongs (or null).
        name - The table name
        isAbstract - Is the table abstract (i.e. not really existing in the DB)?
        subselect - A select statement which defines a logical table, much like a DB view.
        includedTable - ???
        Returns:
        The created table metadata.
        Throws:
        DuplicateMappingException - If such a table mapping already exists.
      • addNamedEntityGraph

        void addNamedEntityGraph​(NamedEntityGraphDefinition namedEntityGraphDefinition)
        Adds metadata for a named entity graph to this repository
        Parameters:
        namedEntityGraphDefinition - The procedure call information
        Throws:
        DuplicateMappingException - If an entity graph already exists with that name.
      • addTypeDefinition

        void addTypeDefinition​(TypeDefinition typeDefinition)
        Adds a type definition to this metadata repository.
        Parameters:
        typeDefinition - The named type definition to add.
        Throws:
        DuplicateMappingException - If a TypeDefinition already exists with that name.
      • addFilterDefinition

        void addFilterDefinition​(FilterDefinition definition)
        Adds a filter definition to this repository.
        Parameters:
        definition - The filter definition to add.
        Throws:
        DuplicateMappingException - If a FilterDefinition already exists with that name.
      • addAuxiliaryDatabaseObject

        void addAuxiliaryDatabaseObject​(AuxiliaryDatabaseObject auxiliaryDatabaseObject)
        Add metadata pertaining to an auxiliary database object to this repository.
        Parameters:
        auxiliaryDatabaseObject - The metadata.
      • addFetchProfile

        void addFetchProfile​(FetchProfile profile)
      • addAttributeConverter

        void addAttributeConverter​(java.lang.Class<? extends AttributeConverter> converterClass)
      • addSecondPass

        void addSecondPass​(SecondPass secondPass)
      • addSecondPass

        void addSecondPass​(SecondPass sp,
                           boolean onTopOfTheQueue)
      • addTableNameBinding

        void addTableNameBinding​(Identifier logicalName,
                                 Table table)
      • addTableNameBinding

        void addTableNameBinding​(java.lang.String schema,
                                 java.lang.String catalog,
                                 java.lang.String logicalName,
                                 java.lang.String realTableName,
                                 Table denormalizedSuperTable)
      • getLogicalTableName

        java.lang.String getLogicalTableName​(Table ownerTable)
      • getPhysicalTableName

        java.lang.String getPhysicalTableName​(Identifier logicalName)
      • getPhysicalTableName

        java.lang.String getPhysicalTableName​(java.lang.String logicalName)
      • addColumnNameBinding

        void addColumnNameBinding​(Table table,
                                  Identifier logicalColumnName,
                                  Column column)
      • addColumnNameBinding

        void addColumnNameBinding​(Table table,
                                  java.lang.String logicalColumnName,
                                  Column column)
      • getLogicalColumnName

        java.lang.String getLogicalColumnName​(Table table,
                                              Identifier physicalName)
      • getLogicalColumnName

        java.lang.String getLogicalColumnName​(Table table,
                                              java.lang.String physicalName)
      • addDefaultNamedProcedureCallDefinition

        void addDefaultNamedProcedureCallDefinition​(NamedProcedureCallDefinition procedureCallDefinition)
      • addAnyMetaDef

        void addAnyMetaDef​(AnyMetaDef defAnn)
      • getAnyMetaDef

        AnyMetaDef getAnyMetaDef​(java.lang.String anyMetaDefName)
      • addClassType

        AnnotatedClassType addClassType​(org.hibernate.annotations.common.reflection.XClass clazz)
      • getClassType

        AnnotatedClassType getClassType​(org.hibernate.annotations.common.reflection.XClass clazz)
      • addMappedSuperclass

        void addMappedSuperclass​(java.lang.Class type,
                                 MappedSuperclass mappedSuperclass)
      • getMappedSuperclass

        MappedSuperclass getMappedSuperclass​(java.lang.Class type)
      • getPropertyAnnotatedWithMapsId

        PropertyData getPropertyAnnotatedWithMapsId​(org.hibernate.annotations.common.reflection.XClass persistentXClass,
                                                    java.lang.String propertyName)
      • addPropertyAnnotatedWithMapsId

        void addPropertyAnnotatedWithMapsId​(org.hibernate.annotations.common.reflection.XClass entity,
                                            PropertyData propertyAnnotatedElement)
      • addPropertyAnnotatedWithMapsIdSpecj

        void addPropertyAnnotatedWithMapsIdSpecj​(org.hibernate.annotations.common.reflection.XClass entity,
                                                 PropertyData specJPropertyData,
                                                 java.lang.String s)
      • addToOneAndIdProperty

        void addToOneAndIdProperty​(org.hibernate.annotations.common.reflection.XClass entity,
                                   PropertyData propertyAnnotatedElement)
      • getPropertyAnnotatedWithIdAndToOne

        PropertyData getPropertyAnnotatedWithIdAndToOne​(org.hibernate.annotations.common.reflection.XClass persistentXClass,
                                                        java.lang.String propertyName)
      • isInSecondPass

        boolean isInSecondPass()
      • locateNaturalIdUniqueKeyBinder

        NaturalIdUniqueKeyBinder locateNaturalIdUniqueKeyBinder​(java.lang.String entityName)
      • registerNaturalIdUniqueKeyBinder

        void registerNaturalIdUniqueKeyBinder​(java.lang.String entityName,
                                              NaturalIdUniqueKeyBinder ukBinder)
      • getClassmateContext

        @Deprecated
        org.hibernate.boot.internal.ClassmateContext getClassmateContext()
        Deprecated.
        Access to the shared Classmate objects used throughout Hibernate's bootstrap process.
        Returns:
        Access to the shared Classmate delegates.
      • addPropertyReference

        void addPropertyReference​(java.lang.String entityName,
                                  java.lang.String propertyName)
      • addUniquePropertyReference

        void addUniquePropertyReference​(java.lang.String entityName,
                                        java.lang.String propertyName)
      • addPropertyReferencedAssociation

        void addPropertyReferencedAssociation​(java.lang.String s,
                                              java.lang.String propertyName,
                                              java.lang.String syntheticPropertyName)
      • getPropertyReferencedAssociation

        java.lang.String getPropertyReferencedAssociation​(java.lang.String entityName,
                                                          java.lang.String mappedBy)
      • addMappedBy

        void addMappedBy​(java.lang.String name,
                         java.lang.String mappedBy,
                         java.lang.String propertyName)
      • getFromMappedBy

        java.lang.String getFromMappedBy​(java.lang.String ownerEntityName,
                                         java.lang.String propertyName)
      • addUniqueConstraints

        void addUniqueConstraints​(Table table,
                                  java.util.List uniqueConstraints)
      • addUniqueConstraintHolders

        void addUniqueConstraintHolders​(Table table,
                                        java.util.List<UniqueConstraintHolder> uniqueConstraints)
      • addJpaIndexHolders

        void addJpaIndexHolders​(Table table,
                                java.util.List<JPAIndexHolder> jpaIndexHolders)
      • getJoins

        java.util.Map<java.lang.String,​Join> getJoins​(java.lang.String entityName)