Annotation Type BatchSequence


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface BatchSequence
Meta annotation to use BatchSequenceGenerator as an identifier generator.
Since:
3.8.1
Author:
Philippe Marschall
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the name of the sequence to use.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns the catalog name of the sequence to use.
    int
    Returns how many sequence values to fetch at once.
    Returns the catalog name of the sequence to use.
  • Element Details

    • name

      String name
      Returns the name of the sequence to use.
      Returns:
      the name of the sequence to use
    • fetchSize

      int fetchSize
      Returns how many sequence values to fetch at once.
      Returns:
      how many sequence values to fetch at once, must be positive
      Default:
      10
    • catalog

      String catalog
      Returns the catalog name of the sequence to use.
      Returns:
      the catalog name of the sequence to use
      Default:
      ""
    • schema

      String schema
      Returns the catalog name of the sequence to use.
      Returns:
      the catalog name of the sequence to use
      Default:
      ""