| Modifier and Type | Field and Description |
|---|---|
| public static final TemporaryTableKind | GLOBAL
Modeled as what the SQL standard calls a global temporary table, which is a table that is defined once per schema,
but its data is scoped to a transaction where data is usually deleted automatically on transaction commit,
though it is possible to control whether Hibernate should delete data or not through |
| public static final TemporaryTableKind | LOCAL
Modeled as what the SQL standard calls a local temporary table, which is a table that is defined per connection. |
| public static final TemporaryTableKind | PERSISTENT
Modeled as a regular table with a special |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TemporaryTableKind | |
| public static TemporaryTableKind[] |
| GLOBAL | back to summary |
|---|---|
| public static final TemporaryTableKind GLOBAL Modeled as what the SQL standard calls a global temporary table, which is a table that is defined once per schema,
but its data is scoped to a transaction where data is usually deleted automatically on transaction commit,
though it is possible to control whether Hibernate should delete data or not through The table is created once on application startup, unless hibernate.query.mutation_strategy.global_temporary.create_tables is disabled and dropped on application startup unless hibernate.query.mutation_strategy.global_temporary.create_tables or hibernate.query.mutation_strategy.global_temporary.drop_tables are disabled. | |
| LOCAL | back to summary |
|---|---|
| public static final TemporaryTableKind LOCAL Modeled as what the SQL standard calls a local temporary table, which is a table that is defined per connection.
Usually, the table is created when needed in a transaction and databases usually drop it on transaction commit,
though it is possible to control if Hibernate should drop it explicitly through | |
| PERSISTENT | back to summary |
|---|---|
| public static final TemporaryTableKind PERSISTENT Modeled as a regular table with a special The table is created once on application startup, unless hibernate.query.mutation_strategy.persistent.create_tables is disabled and dropped on application startup unless hibernate.query.mutation_strategy.persistent.create_tables or hibernate.query.mutation_strategy.persistent.drop_tables are disabled. | |
| TemporaryTableKind | back to summary |
|---|---|
| private TemporaryTableKind() | |
| valueOf | back to summary |
|---|---|
| public static TemporaryTableKind valueOf(String name) | |
| values | back to summary |
|---|---|
| public static TemporaryTableKind[] values() | |