Package org.hibernate.dialect.temptable
Class TemporaryTable
java.lang.Object
org.hibernate.dialect.temptable.TemporaryTable
- All Implemented Interfaces:
Exportable
,Contributable
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TemporaryTable
createEntityTable
(EntityMappingType entityDescriptor, Function<String, String> temporaryTableNameAdjuster, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext) static TemporaryTable
createIdTable
(EntityMappingType entityDescriptor, Function<String, String> temporaryTableNameAdjuster, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext) The name of the contributor which contributed thisGet a unique identifier to make sure we are not exporting the same database structure multiple times.
-
Field Details
-
ID_TABLE_PREFIX
- See Also:
-
ENTITY_TABLE_PREFIX
- See Also:
-
DEFAULT_ALIAS
- See Also:
-
ENTITY_TABLE_IDENTITY_COLUMN
- See Also:
-
-
Method Details
-
createIdTable
public static TemporaryTable createIdTable(EntityMappingType entityDescriptor, Function<String, String> temporaryTableNameAdjuster, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext) -
createEntityTable
public static TemporaryTable createEntityTable(EntityMappingType entityDescriptor, Function<String, String> temporaryTableNameAdjuster, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext) -
getEntityDescriptor
-
getQualifiedTableName
-
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
-