Top Inners Fields Constructors Methods
org.hibernate.dialect.temptable

public Class TemporaryTableHelper

extends Object
Class Inheritance
Imports
java.sql.Connection, .PreparedStatement, .SQLException, .SQLWarning, .Statement, java.util.function.Function, org.hibernate.engine.jdbc.internal.FormatStyle, org.hibernate.engine.jdbc.spi.JdbcServices, .SqlExceptionHelper, .SqlStatementLogger, org.hibernate.engine.spi.SessionFactoryImplementor, .SharedSessionContractImplementor, org.hibernate.internal.CoreLogging, .CoreMessageLogger, org.hibernate.jdbc.AbstractWork

Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class

Field Summary

Modifier and TypeField and Description
private static final CoreMessageLogger
public static final String
private static SqlExceptionHelper.WarningHandler

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
private static void
logStatement(String sql, JdbcServices jdbcServices)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

logback to summary
private static final CoreMessageLogger log
SESSION_ID_COLUMN_NAMEback to summary
public static final String SESSION_ID_COLUMN_NAME
WARNING_HANDLERback to summary
private static SqlExceptionHelper.WarningHandler WARNING_HANDLER

Constructor Detail

TemporaryTableHelperback to summary
public TemporaryTableHelper()

Method Detail

cleanTemporaryTableRowsback to summary
public static void cleanTemporaryTableRows(TemporaryTable temporaryTable, TemporaryTableExporter exporter, Function<SharedSessionContractImplementor, String> sessionUidAccess, SharedSessionContractImplementor session)
logStatementback to summary
private static void logStatement(String sql, JdbcServices jdbcServices)
org.hibernate.dialect.temptable back to summary

public Class TemporaryTableHelper.TemporaryTableCreationWork

extends AbstractWork
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final TemporaryTableExporter
private final SessionFactoryImplementor
sessionFactory

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
private final TemporaryTable

Constructor Summary

AccessConstructor and Description
public
TemporaryTableCreationWork(TemporaryTable temporaryTable, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public
TemporaryTableCreationWork(TemporaryTable temporaryTable, TemporaryTableExporter exporter, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.

Method Summary

Modifier and TypeMethod and Description
public void
execute(Connection
The connection on which to perform the work.
connection
)

Implements org.hibernate.jdbc.Work.execute.

Execute the discrete work encapsulated by this work instance using the supplied connection.
Inherited from org.hibernate.jdbc.AbstractWork:
accept

Field Detail

exporterback to summary
private final TemporaryTableExporter exporter
sessionFactoryback to summary
private final SessionFactoryImplementor sessionFactory

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

temporaryTableback to summary
private final TemporaryTable temporaryTable

Constructor Detail

TemporaryTableCreationWorkback to summary
public TemporaryTableCreationWork(TemporaryTable temporaryTable, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

TemporaryTableCreationWorkback to summary
public TemporaryTableCreationWork(TemporaryTable temporaryTable, TemporaryTableExporter exporter, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Method Detail

executeback to summary
public void execute(Connection connection)

Implements org.hibernate.jdbc.Work.execute.

Doc from org.hibernate.jdbc.Work.execute.

Execute the discrete work encapsulated by this work instance using the supplied connection.

Parameters
connection:Connection

The connection on which to perform the work.

Annotations
@Override
org.hibernate.dialect.temptable back to summary

public Class TemporaryTableHelper.TemporaryTableDropWork

extends AbstractWork
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final TemporaryTableExporter
private final SessionFactoryImplementor
sessionFactory

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
private final TemporaryTable

Constructor Summary

AccessConstructor and Description
public
TemporaryTableDropWork(TemporaryTable temporaryTable, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public
TemporaryTableDropWork(TemporaryTable temporaryTable, TemporaryTableExporter exporter, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.

Method Summary

Modifier and TypeMethod and Description
public void
execute(Connection
The connection on which to perform the work.
connection
)

Implements org.hibernate.jdbc.Work.execute.

Execute the discrete work encapsulated by this work instance using the supplied connection.
Inherited from org.hibernate.jdbc.AbstractWork:
accept

Field Detail

exporterback to summary
private final TemporaryTableExporter exporter
sessionFactoryback to summary
private final SessionFactoryImplementor sessionFactory

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

temporaryTableback to summary
private final TemporaryTable temporaryTable

Constructor Detail

TemporaryTableDropWorkback to summary
public TemporaryTableDropWork(TemporaryTable temporaryTable, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

TemporaryTableDropWorkback to summary
public TemporaryTableDropWork(TemporaryTable temporaryTable, TemporaryTableExporter exporter, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Method Detail

executeback to summary
public void execute(Connection connection)

Implements org.hibernate.jdbc.Work.execute.

Doc from org.hibernate.jdbc.Work.execute.

Execute the discrete work encapsulated by this work instance using the supplied connection.

Parameters
connection:Connection

The connection on which to perform the work.

Annotations
@Override