Interface BulkInsertionCapableIdentifierGenerator

    • Method Detail

      • supportsBulkInsertionIdentifierGeneration

        default boolean supportsBulkInsertionIdentifierGeneration()
        Given the configuration of this generator, is identifier generation as part of bulk insertion supported?
        Returns:
        true if bulk insertions are supported; false otherwise.
        API Note:
        Mainly here to allow stuff like SequenceStyleGenerator which can support this based on configuration
      • determineBulkInsertionIdentifierGenerationSelectFragment

        default String determineBulkInsertionIdentifierGenerationSelectFragment​(SqlStringGenerationContext context)
        Return the select expression fragment, if any, that generates the identifier values.
        Returns:
        The identifier value generation fragment (SQL). null indicates that no fragment is needed.