Top Constructors Methods
org.hibernate.engine.spi

public abstract Class AbstractDelegatingWrapperOptions

extends Object
implements WrapperOptions
Class Inheritance
All Implemented Interfaces
org.hibernate.type.descriptor.WrapperOptions
Known Direct Subclasses
org.hibernate.sql.ast.spi.AbstractSqlAstTranslator.LazySessionWrapperOptions
Imports
java.util.TimeZone, org.hibernate.engine.jdbc.LobCreator, org.hibernate.type.descriptor.WrapperOptions

Authors
Christian Beikov, Andrea Boriero

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected abstract SessionImplementor
delegate()

Returns the underlying session delegate.

public TimeZone
getJdbcTimeZone()

Implements org.hibernate.type.descriptor.WrapperOptions.getJdbcTimeZone.

The JDBC TimeZone used when writing a value of type java.sql.Time or java.sql.Timestamp to a JDBC java.sql.PreparedStatement, or when reading from a JDBC java.sql.ResultSet.
public LobCreator
public int
public SessionFactoryImplementor
getSessionFactory()

Implements org.hibernate.type.descriptor.WrapperOptions.getSessionFactory.

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Access to the current session factory.
public boolean
useStreamForLobBinding()

Implements org.hibernate.type.descriptor.WrapperOptions.useStreamForLobBinding.

Determines whether streams should be used for binding LOB values.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractDelegatingWrapperOptionsback to summary
public AbstractDelegatingWrapperOptions()

Method Detail

delegateback to summary
protected abstract SessionImplementor delegate()

Returns the underlying session delegate.

getJdbcTimeZoneback to summary
public TimeZone getJdbcTimeZone()

Implements org.hibernate.type.descriptor.WrapperOptions.getJdbcTimeZone.

Doc from org.hibernate.type.descriptor.WrapperOptions.getJdbcTimeZone.

The JDBC TimeZone used when writing a value of type java.sql.Time or java.sql.Timestamp to a JDBC java.sql.PreparedStatement, or when reading from a JDBC java.sql.ResultSet.

Thus, the storage TimeZone can differ from the default JVM TimeZone given by TimeZone#getDefault().

Returns:TimeZone

the JDBC TimeZone, or null if no JDBC timezone was explicitly set

Annotations
@Override
getLobCreatorback to summary
public LobCreator getLobCreator()

Implements org.hibernate.type.descriptor.WrapperOptions.getLobCreator.

Doc from org.hibernate.type.descriptor.WrapperOptions.getLobCreator.

Obtain access to the LobCreator.

Returns:LobCreator

The LOB creator

Annotations
@Override
getPreferredSqlTypeCodeForBooleanback to summary
public int getPreferredSqlTypeCodeForBoolean()

Implements org.hibernate.type.descriptor.WrapperOptions.getPreferredSqlTypeCodeForBoolean.

Doc from org.hibernate.type.descriptor.WrapperOptions.getPreferredSqlTypeCodeForBoolean.

The JDBC type code used to bind a null boolean value.

Annotations
@Override
getSessionFactoryback to summary
public SessionFactoryImplementor getSessionFactory()

Implements org.hibernate.type.descriptor.WrapperOptions.getSessionFactory.

Doc from org.hibernate.type.descriptor.WrapperOptions.getSessionFactory.

Deprecated

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

Access to the current session factory.

Annotations
@Override
useStreamForLobBindingback to summary
public boolean useStreamForLobBinding()

Implements org.hibernate.type.descriptor.WrapperOptions.useStreamForLobBinding.

Doc from org.hibernate.type.descriptor.WrapperOptions.useStreamForLobBinding.

Determines whether streams should be used for binding LOB values.

Returns:boolean

true/false

Annotations
@Override