Annotation Interface BatchSequence
Meta annotation to use
BatchSequenceGenerator as an identifier generator.- Since:
- 3.8.1
- Author:
- Philippe Marschall
-
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameReturns the name of the sequence to use.If omitted (empty or
nullthenImplicitDatabaseObjectNamingStrategyis used to derive the name.- Returns:
- the name of the sequence to use
- See Also:
-
MappingSettings.ID_DB_STRUCTURE_NAMING_STRATEGY
- Default:
- ""
-
fetchSize
int fetchSizeReturns how many sequence values to fetch at once.- Returns:
- how many sequence values to fetch at once, must be positive
- Default:
- 10
-
catalog
String catalogReturns the catalog name of the sequence to use.- Returns:
- the catalog name of the sequence to use
- Default:
- ""
-
schema
String schemaReturns the catalog name of the sequence to use.- Returns:
- the catalog name of the sequence to use
- Default:
- ""
-