Package org.hibernate.dialect.temptable
Class TemporaryTable
java.lang.Object
org.hibernate.dialect.temptable.TemporaryTable
- All Implemented Interfaces:
Exportable
,Contributable
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic TemporaryTable
createEntityTable
(PersistentClass persistentClass, Function<String, String> temporaryTableNameAdjuster, TemporaryTableKind temporaryTableKind, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext) static TemporaryTable
createEntityTable
(EntityMappingType entityDescriptor, Function<String, String> temporaryTableNameAdjuster, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext) Deprecated, for removal: This API element is subject to removal in a future version.static TemporaryTable
createIdTable
(PersistentClass persistentClass, Function<String, String> temporaryTableNameAdjuster, TemporaryTableKind temporaryTableKind, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext) static TemporaryTable
createIdTable
(EntityMappingType entityDescriptor, Function<String, String> temporaryTableNameAdjuster, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext) Deprecated, for removal: This API element is subject to removal in a future version.findTemporaryTableColumns
(EntityPersister entityDescriptor, ModelPart modelPart) The name of the contributor which contributed thisGet a unique identifier to make sure we are not exporting the same database structure multiple times.boolean
-
Field Details
-
ID_TABLE_PREFIX
- See Also:
-
ENTITY_TABLE_PREFIX
- See Also:
-
DEFAULT_ALIAS
- See Also:
-
ENTITY_TABLE_IDENTITY_COLUMN
- See Also:
-
ENTITY_ROW_NUMBER_COLUMN
- See Also:
-
-
Method Details
-
createIdTable
@Deprecated(forRemoval=true, since="7.1") public static TemporaryTable createIdTable(EntityMappingType entityDescriptor, Function<String, String> temporaryTableNameAdjuster, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext) Deprecated, for removal: This API element is subject to removal in a future version. -
createEntityTable
@Deprecated(forRemoval=true, since="7.1") public static TemporaryTable createEntityTable(EntityMappingType entityDescriptor, Function<String, String> temporaryTableNameAdjuster, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext) Deprecated, for removal: This API element is subject to removal in a future version. -
createIdTable
public static TemporaryTable createIdTable(PersistentClass persistentClass, Function<String, String> temporaryTableNameAdjuster, TemporaryTableKind temporaryTableKind, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext) -
createEntityTable
public static TemporaryTable createEntityTable(PersistentClass persistentClass, Function<String, String> temporaryTableNameAdjuster, TemporaryTableKind temporaryTableKind, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext) -
findTemporaryTableColumns
public List<TemporaryTableColumn> findTemporaryTableColumns(EntityPersister entityDescriptor, ModelPart modelPart) -
isRowNumberGenerated
public boolean isRowNumberGenerated() -
getQualifiedTableName
-
getTemporaryTableKind
-
getColumns
-
getColumnsForExport
-
getSessionUidColumn
-
getTableExpression
-
getContributor
Description copied from interface:Contributable
The name of the contributor which contributed this- Specified by:
getContributor
in interfaceContributable
-
getExportIdentifier
Description copied from interface:Exportable
Get a unique identifier to make sure we are not exporting the same database structure multiple times.- Specified by:
getExportIdentifier
in interfaceExportable
- Returns:
- The exporting identifier.
-
getDialect
-