Interface AssociationType

    • Method Detail

      • getForeignKeyDirection

        ForeignKeyDirection getForeignKeyDirection()
        Get the foreign key directionality of this association
      • useLHSPrimaryKey

        boolean useLHSPrimaryKey()
        Is the primary key of the owning entity table to be used in the join?
      • getLHSPropertyName

        java.lang.String getLHSPropertyName()
        Get the name of a property in the owning entity that provides the join key (null if the identifier)
      • getRHSUniqueKeyPropertyName

        java.lang.String getRHSUniqueKeyPropertyName()
        The name of a unique property of the associated entity that provides the join key (null if the identifier of an entity, or key of a collection)
      • getOnCondition

        java.lang.String getOnCondition​(java.lang.String alias,
                                        SessionFactoryImplementor factory,
                                        java.util.Map enabledFilters)
                                 throws MappingException
        Get the "filtering" SQL fragment that is applied in the SQL on clause, in addition to the usual join condition
        Throws:
        MappingException
      • getOnCondition

        java.lang.String getOnCondition​(java.lang.String alias,
                                        SessionFactoryImplementor factory,
                                        java.util.Map enabledFilters,
                                        java.util.Set<java.lang.String> treatAsDeclarations)
        Get the "filtering" SQL fragment that is applied in the SQL on clause, in addition to the usual join condition
      • isAlwaysDirtyChecked

        boolean isAlwaysDirtyChecked()
        Do we dirty check this association, even when there are no columns to be updated?