Interface IdGeneratorStrategyInterpreter

    • Method Detail

      • determineGeneratorName

        String determineGeneratorName​(jakarta.persistence.GenerationType generationType,
                                      IdGeneratorStrategyInterpreter.GeneratorNameDeterminationContext context)
        Deprecated.
        Determine the name of the generator which should be used based on the GenerationType, returning null to indicate that this interpreter did not have a match and that any additional resolutions should be performed.
        Parameters:
        generationType - The GeneratedValue.strategy() value
        context - The context for resolution (method parameter object)
        Returns:
        The IdentifierGenerator name (FQN, short name, etc)
      • interpretTableGenerator

        void interpretTableGenerator​(jakarta.persistence.TableGenerator tableGeneratorAnnotation,
                                     IdentifierGeneratorDefinition.Builder definitionBuilder)
        Deprecated.
        Extract the IdentifierGeneratorDefinition related to the given TableGenerator annotation
        Parameters:
        tableGeneratorAnnotation - The annotation
        definitionBuilder - The IdentifierGeneratorDefinition builder to which to apply any interpreted/extracted configuration
      • interpretSequenceGenerator

        void interpretSequenceGenerator​(jakarta.persistence.SequenceGenerator sequenceGeneratorAnnotation,
                                        IdentifierGeneratorDefinition.Builder definitionBuilder)
        Deprecated.
        Extract the IdentifierGeneratorDefinition related to the given SequenceGenerator annotation
        Parameters:
        sequenceGeneratorAnnotation - The annotation
        definitionBuilder - The IdentifierGeneratorDefinition builder to which to apply any interpreted/extracted configuration