| Modifier and Type | Field and Description |
|---|---|
| public static final String | BULK_ID_STRATEGY_GLOBAL_TEMPORARY_CREATE_TABLES
Allows creation of global temporary tables at application startup to be disabled. |
| public static final String | BULK_ID_STRATEGY_GLOBAL_TEMPORARY_DROP_TABLES
Allows dropping of global temporary tables at application shutdown to be disabled. |
| public static final String | BULK_ID_STRATEGY_LOCAL_TEMPORARY_DROP_TABLES
Allows dropping of local temporary tables at transaction commit to be enabled. |
| public static final String | BULK_ID_STRATEGY_PERSISTENT_TEMPORARY_CREATE_TABLES
Allows creation of persistent temporary tables at application startup to be disabled. |
| public static final String | BULK_ID_STRATEGY_PERSISTENT_TEMPORARY_DROP_TABLES
Allows dropping of persistent temporary tables at application shutdown to be disabled. |
| public static final String | ENABLE_SYNONYMS
If enabled, allows schema update and validation to support synonyms. |
| public static final String | EXTRA_PHYSICAL_TABLE_TYPES
Specifies a comma-separated list of extra table types, in addition to the
default types |
| public static final String | HBM2DDL_AUTO
Setting to perform |
| public static final String | HBM2DDL_CHARSET_NAME
The name of the charset used by the schema generation resource. |
| public static final String | HBM2DDL_CREATE_NAMESPACES
Specifies whether to automatically create also the database schema/catalog. |
| public static final String | HBM2DDL_CREATE_SCHEMAS
Deprecated
Use
JAKARTA_HBM2DDL_CREATE_SCHEMAS instead
|
| public static final String | HBM2DDL_CREATE_SCRIPT_SOURCE
Deprecated
Migrate to
JAKARTA_HBM2DDL_CREATE_SCRIPT_SOURCE
|
| public static final String | HBM2DDL_CREATE_SOURCE
Deprecated
Migrate to
JAKARTA_HBM2DDL_CREATE_SOURCE instead
|
| public static final String | HBM2DDL_DATABASE_ACTION
Deprecated
Use
JAKARTA_HBM2DDL_DATABASE_ACTION instead
|
| public static final String | HBM2DDL_DEFAULT_CONSTRAINT_MODE
Used with the |
| public static final String | HBM2DDL_DELIMITER
Identifies the delimiter to use to separate schema management statements in script outputs. |
| public static final String | HBM2DDL_DROP_SCRIPT_SOURCE
Deprecated
Migrate to
JAKARTA_HBM2DDL_DROP_SCRIPT_SOURCE
|
| public static final String | HBM2DDL_DROP_SOURCE
Deprecated
Migrate to
JAKARTA_HBM2DDL_DROP_SOURCE.
|
| public static final String | HBM2DDL_FILTER_PROVIDER
Used to specify the |
| public static final String | HBM2DDL_HALT_ON_ERROR
When enabled, specifies that the schema migration tool should halt on any error, terminating the bootstrap process. |
| public static final String | HBM2DDL_IMPORT_FILES
Specifies a comma-separated list of file names of scripts containing SQL DML statements that should be executed after schema export completes. |
| public static final String | HBM2DDL_IMPORT_FILES_SQL_EXTRACTOR
The |
| public static final String | HBM2DDL_JDBC_METADATA_EXTRACTOR_STRATEGY
Setting to choose the strategy used to access the JDBC Metadata. |
| public static final String | HBM2DDL_LOAD_SCRIPT_SOURCE
Deprecated
Use
JAKARTA_HBM2DDL_LOAD_SCRIPT_SOURCE instead
|
| public static final String | HBM2DDL_SCRIPTS_ACTION
Deprecated
Use
JAKARTA_HBM2DDL_SCRIPTS_ACTION instead
|
| public static final String | HBM2DDL_SCRIPTS_CREATE_APPEND
For cases where the jakarta.persistence.schema-generation.scripts.action value indicates that schema commands should be written to DDL script file, specifies if schema commands should be appended to the end of the file rather than written at the beginning of the file. |
| public static final String | HBM2DDL_SCRIPTS_CREATE_TARGET
Deprecated
Migrate to
JAKARTA_HBM2DDL_SCRIPTS_CREATE_TARGET
|
| public static final String | HBM2DDL_SCRIPTS_DROP_TARGET
Deprecated
Migrate to
JAKARTA_HBM2DDL_SCRIPTS_DROP_TARGET
|
| public static final String | JAKARTA_HBM2DDL_CREATE_SCHEMAS
The JPA variant of
The default is |
| public static final String | JAKARTA_HBM2DDL_CREATE_SCRIPT_SOURCE
Specifies the CREATE script file as either a |
| public static final String | JAKARTA_HBM2DDL_CREATE_SOURCE
Specifies whether schema generation commands for schema creation are to be determined based on object/relational mapping metadata, DDL scripts, or a combination of the two. |
| public static final String | JAKARTA_HBM2DDL_DATABASE_ACTION
Specifies what type of schema tooling action should be performed against the
database specified using either jakarta.persistence.schema-generation-connection or the
configured |
| public static final String | JAKARTA_HBM2DDL_DROP_SCRIPT_SOURCE
Specifies the DROP script file as either a |
| public static final String | JAKARTA_HBM2DDL_DROP_SOURCE
Specifies whether schema generation commands for schema dropping are to be determined based on object/relational mapping metadata, DDL scripts, or a combination of the two. |
| public static final String | JAKARTA_HBM2DDL_LOAD_SCRIPT_SOURCE
JPA-standard variant of
Specifies a |
| public static final String | JAKARTA_HBM2DDL_SCRIPTS_ACTION
Specifies what type of schema tooling action should be written to script files. |
| public static final String | JAKARTA_HBM2DDL_SCRIPTS_CREATE_TARGET
For cases where jakarta.persistence.schema-generation.scripts.action indicates that schema creation
commands should be written to a script file, this setting specifies either a
|
| public static final String | JAKARTA_HBM2DDL_SCRIPTS_DROP_TARGET
For cases where jakarta.persistence.schema-generation.scripts.action indicates that schema
drop commands should be written to a script file, this setting specifies either a
|
| public static final String | SCHEMA_MANAGEMENT_TOOL
Specifies the |
| public static final String | STORAGE_ENGINE
Specifies the default storage engine for a relational databases that supports multiple storage engines. |
| public static final String | UNIQUE_CONSTRAINT_SCHEMA_UPDATE_STRATEGY
Unique columns and unique keys both use unique constraints in most dialects. |
| BULK_ID_STRATEGY_GLOBAL_TEMPORARY_CREATE_TABLES | back to summary |
|---|---|
| public static final String BULK_ID_STRATEGY_GLOBAL_TEMPORARY_CREATE_TABLES
Allows creation of global temporary tables at application startup to be disabled. By default, table creation is enabled.
| |
| BULK_ID_STRATEGY_GLOBAL_TEMPORARY_DROP_TABLES | back to summary |
|---|---|
| public static final String BULK_ID_STRATEGY_GLOBAL_TEMPORARY_DROP_TABLES
Allows dropping of global temporary tables at application shutdown to be disabled. By default, table dropping is enabled.
| |
| BULK_ID_STRATEGY_LOCAL_TEMPORARY_DROP_TABLES | back to summary |
|---|---|
| public static final String BULK_ID_STRATEGY_LOCAL_TEMPORARY_DROP_TABLES
Allows dropping of local temporary tables at transaction commit to be enabled. By default, table dropping is disabled, and the database will drop the temporary tables automatically.
| |
| BULK_ID_STRATEGY_PERSISTENT_TEMPORARY_CREATE_TABLES | back to summary |
|---|---|
| public static final String BULK_ID_STRATEGY_PERSISTENT_TEMPORARY_CREATE_TABLES
Allows creation of persistent temporary tables at application startup to be disabled. By default, table creation is enabled.
| |
| BULK_ID_STRATEGY_PERSISTENT_TEMPORARY_DROP_TABLES | back to summary |
|---|---|
| public static final String BULK_ID_STRATEGY_PERSISTENT_TEMPORARY_DROP_TABLES
Allows dropping of persistent temporary tables at application shutdown to be disabled. By default, table dropping is enabled.
| |
| ENABLE_SYNONYMS | back to summary |
|---|---|
| public static final String ENABLE_SYNONYMS If enabled, allows schema update and validation to support synonyms. Due to the possibility that this would return duplicate tables (especially in Oracle), this is disabled by default. | |
| EXTRA_PHYSICAL_TABLE_TYPES | back to summary |
|---|---|
| public static final String EXTRA_PHYSICAL_TABLE_TYPES Specifies a comma-separated list of extra table types, in addition to the
default types
| |
| HBM2DDL_AUTO | back to summary |
|---|---|
| public static final String HBM2DDL_AUTO Setting to perform
Interpreted in combination with
| |
| HBM2DDL_CHARSET_NAME | back to summary |
|---|---|
| public static final String HBM2DDL_CHARSET_NAME The name of the charset used by the schema generation resource. By default, the JVM default charset is used.
| |
| HBM2DDL_CREATE_NAMESPACES | back to summary |
|---|---|
| public static final String HBM2DDL_CREATE_NAMESPACES
Deprecated The JPA-standard setting Specifies whether to automatically create also the database schema/catalog. The default is false.
| |
| HBM2DDL_CREATE_SCHEMAS | back to summary |
|---|---|
| public static final String HBM2DDL_CREATE_SCHEMAS
Deprecated Use
| |
| HBM2DDL_CREATE_SCRIPT_SOURCE | back to summary |
|---|---|
| public static final String HBM2DDL_CREATE_SCRIPT_SOURCE
Deprecated Migrate to
| |
| HBM2DDL_CREATE_SOURCE | back to summary |
|---|---|
| public static final String HBM2DDL_CREATE_SOURCE
Deprecated Migrate to
| |
| HBM2DDL_DATABASE_ACTION | back to summary |
|---|---|
| public static final String HBM2DDL_DATABASE_ACTION
Deprecated Use
| |
| HBM2DDL_DEFAULT_CONSTRAINT_MODE | back to summary |
|---|---|
| public static final String HBM2DDL_DEFAULT_CONSTRAINT_MODE Used with the
Valid values are
| |
| HBM2DDL_DELIMITER | back to summary |
|---|---|
| public static final String HBM2DDL_DELIMITER Identifies the delimiter to use to separate schema management statements in script outputs. | |
| HBM2DDL_DROP_SCRIPT_SOURCE | back to summary |
|---|---|
| public static final String HBM2DDL_DROP_SCRIPT_SOURCE
Deprecated Migrate to
| |
| HBM2DDL_DROP_SOURCE | back to summary |
|---|---|
| public static final String HBM2DDL_DROP_SOURCE
Deprecated Migrate to
| |
| HBM2DDL_FILTER_PROVIDER | back to summary |
|---|---|
| public static final String HBM2DDL_FILTER_PROVIDER Used to specify the
| |
| HBM2DDL_HALT_ON_ERROR | back to summary |
|---|---|
| public static final String HBM2DDL_HALT_ON_ERROR When enabled, specifies that the schema migration tool should halt on any error, terminating the bootstrap process.
| |
| HBM2DDL_IMPORT_FILES | back to summary |
|---|---|
| public static final String HBM2DDL_IMPORT_FILES
Deprecated The JPA-standard setting Specifies a comma-separated list of file names of scripts containing SQL DML statements that should be executed after schema export completes. The order of the scripts is significant, with the first script in the list being executed first.
The scripts are only executed if the schema is created by Hibernate, that is, if
hibernate.hbm2ddl.auto is set to
The default value is | |
| HBM2DDL_IMPORT_FILES_SQL_EXTRACTOR | back to summary |
|---|---|
| public static final String HBM2DDL_IMPORT_FILES_SQL_EXTRACTOR The
The correct extractor to use depends on the format of the SQL script:
| |
| HBM2DDL_JDBC_METADATA_EXTRACTOR_STRATEGY | back to summary |
|---|---|
| public static final String HBM2DDL_JDBC_METADATA_EXTRACTOR_STRATEGY Setting to choose the strategy used to access the JDBC Metadata.
Valid options are defined by | |
| HBM2DDL_LOAD_SCRIPT_SOURCE | back to summary |
|---|---|
| public static final String HBM2DDL_LOAD_SCRIPT_SOURCE
Deprecated Use
| |
| HBM2DDL_SCRIPTS_ACTION | back to summary |
|---|---|
| public static final String HBM2DDL_SCRIPTS_ACTION
Deprecated Use
| |
| HBM2DDL_SCRIPTS_CREATE_APPEND | back to summary |
|---|---|
| public static final String HBM2DDL_SCRIPTS_CREATE_APPEND For cases where the jakarta.persistence.schema-generation.scripts.action value indicates that schema commands should be written to DDL script file, specifies if schema commands should be appended to the end of the file rather than written at the beginning of the file.
Values are: | |
| HBM2DDL_SCRIPTS_CREATE_TARGET | back to summary |
|---|---|
| public static final String HBM2DDL_SCRIPTS_CREATE_TARGET
Deprecated Migrate to
| |
| HBM2DDL_SCRIPTS_DROP_TARGET | back to summary |
|---|---|
| public static final String HBM2DDL_SCRIPTS_DROP_TARGET
Deprecated Migrate to
| |
| JAKARTA_HBM2DDL_CREATE_SCHEMAS | back to summary |
|---|---|
| public static final String JAKARTA_HBM2DDL_CREATE_SCHEMAS The JPA variant of
The default is | |
| JAKARTA_HBM2DDL_CREATE_SCRIPT_SOURCE | back to summary |
|---|---|
| public static final String JAKARTA_HBM2DDL_CREATE_SCRIPT_SOURCE Specifies the CREATE script file as either a
Hibernate historically also accepted | |
| JAKARTA_HBM2DDL_CREATE_SOURCE | back to summary |
|---|---|
| public static final String JAKARTA_HBM2DDL_CREATE_SOURCE Specifies whether schema generation commands for schema creation are to be determined
based on object/relational mapping metadata, DDL scripts, or a combination of the two.
See If no value is specified, a default is inferred as follows:
| |
| JAKARTA_HBM2DDL_DATABASE_ACTION | back to summary |
|---|---|
| public static final String JAKARTA_HBM2DDL_DATABASE_ACTION Specifies what type of schema tooling action should be performed against the
database specified using either jakarta.persistence.schema-generation-connection or the
configured
Valid options are enumerated by This setting takes precedence over hibernate.hbm2ddl.auto.
If no value is specified, the default is
| |
| JAKARTA_HBM2DDL_DROP_SCRIPT_SOURCE | back to summary |
|---|---|
| public static final String JAKARTA_HBM2DDL_DROP_SCRIPT_SOURCE Specifies the DROP script file as either a
| |
| JAKARTA_HBM2DDL_DROP_SOURCE | back to summary |
|---|---|
| public static final String JAKARTA_HBM2DDL_DROP_SOURCE Specifies whether schema generation commands for schema dropping are to be determined
based on object/relational mapping metadata, DDL scripts, or a combination of the two.
See If no value is specified, a default is inferred as follows:
| |
| JAKARTA_HBM2DDL_LOAD_SCRIPT_SOURCE | back to summary |
|---|---|
| public static final String JAKARTA_HBM2DDL_LOAD_SCRIPT_SOURCE JPA-standard variant of
Specifies a | |
| JAKARTA_HBM2DDL_SCRIPTS_ACTION | back to summary |
|---|---|
| public static final String JAKARTA_HBM2DDL_SCRIPTS_ACTION Specifies what type of schema tooling action should be written to script files.
Valid options are enumerated by The script file is identified using jakarta.persistence.schema-generation.scripts.create-target.
If no value is specified, the default is
| |
| JAKARTA_HBM2DDL_SCRIPTS_CREATE_TARGET | back to summary |
|---|---|
| public static final String JAKARTA_HBM2DDL_SCRIPTS_CREATE_TARGET For cases where jakarta.persistence.schema-generation.scripts.action indicates that schema creation
commands should be written to a script file, this setting specifies either a
| |
| JAKARTA_HBM2DDL_SCRIPTS_DROP_TARGET | back to summary |
|---|---|
| public static final String JAKARTA_HBM2DDL_SCRIPTS_DROP_TARGET For cases where jakarta.persistence.schema-generation.scripts.action indicates that schema
drop commands should be written to a script file, this setting specifies either a
| |
| SCHEMA_MANAGEMENT_TOOL | back to summary |
|---|---|
| public static final String SCHEMA_MANAGEMENT_TOOL Specifies the
By default,
| |
| STORAGE_ENGINE | back to summary |
|---|---|
| public static final String STORAGE_ENGINE Specifies the default storage engine for a relational databases that supports
multiple storage engines. This property must be set either as an
| |
| UNIQUE_CONSTRAINT_SCHEMA_UPDATE_STRATEGY | back to summary |
|---|---|
| public static final String UNIQUE_CONSTRAINT_SCHEMA_UPDATE_STRATEGY Unique columns and unique keys both use unique constraints in most dialects. The schema exporter must create these constraints, but database support for finding existing constraints is extremely inconsistent. Worse, unique constraints without explicit names are assigned names with randomly generated characters. Therefore, select from these strategies:
| |