Top Inners Fields Constructors Methods
org.hibernate.hql.spi.id.local

public Class Helper

extends Object
Class Inheritance
Imports
java.sql.Connection, .PreparedStatement, .SQLWarning, .Statement, org.hibernate.boot.TempTableDdlTransactionHandling, 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
private static class
private static class

Field Summary

Modifier and TypeField and Description
public static final Helper
INSTANCE

Singleton access

private static final CoreMessageLogger
private static SqlExceptionHelper.WarningHandler

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
private static String
logStatement(SessionFactoryImplementor factory, String sql)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
protected void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final Helper INSTANCE

Singleton access

logback to summary
private static final CoreMessageLogger log
WARNING_HANDLERback to summary
private static SqlExceptionHelper.WarningHandler WARNING_HANDLER

Constructor Detail

Helperback to summary
private Helper()

Method Detail

createTempTableback to summary
public void createTempTable(IdTableInfoImpl idTableInfo, TempTableDdlTransactionHandling ddlTransactionHandling, SharedSessionContractImplementor session)
logStatementback to summary
private static String logStatement(SessionFactoryImplementor factory, String sql)

Deprecated

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

releaseTempTableback to summary
protected void releaseTempTable(IdTableInfoImpl idTableInfo, AfterUseAction afterUseAction, TempTableDdlTransactionHandling ddlTransactionHandling, SharedSessionContractImplementor session)
org.hibernate.hql.spi.id.local back to summary

private Class Helper.TemporaryTableCreationWork

extends AbstractWork
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final SessionFactoryImplementor
factory

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

Constructor Summary

AccessConstructor and Description
private
TemporaryTableCreationWork(IdTableInfoImpl idTableInfo, SessionFactoryImplementor factory)

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

factoryback to summary
private final SessionFactoryImplementor factory

Deprecated

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

idTableInfoback to summary
private final IdTableInfoImpl idTableInfo

Constructor Detail

TemporaryTableCreationWorkback to summary
private TemporaryTableCreationWork(IdTableInfoImpl idTableInfo, SessionFactoryImplementor factory)

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.hql.spi.id.local back to summary

private Class Helper.TemporaryTableDropWork

extends AbstractWork
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final SessionFactoryImplementor
factory

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

Constructor Summary

AccessConstructor and Description
private
TemporaryTableDropWork(IdTableInfoImpl idTableInfo, SessionFactoryImplementor factory)

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

factoryback to summary
private final SessionFactoryImplementor factory

Deprecated

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

idTableInfoback to summary
private final IdTableInfoImpl idTableInfo

Constructor Detail

TemporaryTableDropWorkback to summary
private TemporaryTableDropWork(IdTableInfoImpl idTableInfo, SessionFactoryImplementor factory)

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