接口 SecondaryTableSource

    • 方法详细资料

      • getPrimaryKeyColumnSources

        List<ColumnSource> getPrimaryKeyColumnSources()
        Retrieves the columns defines as making up this secondary tables primary key. Each entry should have a corresponding entry in the foreign-key columns described by the ForeignKeyContributingSource aspect of this contract.
        返回:
        The columns defining the primary key for this secondary table
      • getLogicalTableNameForContainedColumns

        String getLogicalTableNameForContainedColumns()
      • getComment

        String getComment()
      • isInverse

        boolean isInverse()
      • isOptional

        boolean isOptional()
      • isCascadeDeleteEnabled

        boolean isCascadeDeleteEnabled()
        从接口复制的说明: ForeignKeyContributingSource
        Is "cascade delete" enabled for the foreign key? In other words, if a record in the parent (referenced) table is deleted, should the corresponding records in the child table automatically be deleted?
        指定者:
        isCascadeDeleteEnabled 在接口中 ForeignKeyContributingSource
        返回:
        true, if the cascade delete is enabled; false, otherwise.
      • getCustomSqlInsert

        CustomSql getCustomSqlInsert()
        Obtain the custom SQL to be used for inserts for this entity
        返回:
        The custom insert SQL
      • getCustomSqlUpdate

        CustomSql getCustomSqlUpdate()
        Obtain the custom SQL to be used for updates for this entity
        返回:
        The custom update SQL
      • getCustomSqlDelete

        CustomSql getCustomSqlDelete()
        Obtain the custom SQL to be used for deletes for this entity
        返回:
        The custom delete SQL