Top Fields Constructors Methods
org.hibernate.persister.entity

public Class SessionFactoryBasedWrapperOptions

extends Object
implements WrapperOptions
Class Inheritance
All Implemented Interfaces
org.hibernate.type.descriptor.WrapperOptions
Annotations
@Internal
Imports
java.util.TimeZone, org.hibernate.Internal, org.hibernate.engine.jdbc.LobCreator, org.hibernate.engine.spi.SessionFactoryImplementor, .SharedSessionContractImplementor, org.hibernate.type.descriptor.WrapperOptions

Author
Christian Beikov

Field Summary

Modifier and TypeField and Description
private final SessionFactoryImplementor
factory

Deprecated as a consequence of SessionFactoryImplementor being deprecated.

Constructor Summary

AccessConstructor and Description
public
SessionFactoryBasedWrapperOptions(SessionFactoryImplementor factory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.

Method Summary

Modifier and TypeMethod and Description
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 SharedSessionContractImplementor
getSession()

Implements org.hibernate.type.descriptor.WrapperOptions.getSession.

Access to the current session.
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

Field Detail

factoryback to summary
private final SessionFactoryImplementor factory

Deprecated

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

Constructor Detail

SessionFactoryBasedWrapperOptionsback to summary
public SessionFactoryBasedWrapperOptions(SessionFactoryImplementor factory)

Deprecated

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

Method Detail

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
getSessionback to summary
public SharedSessionContractImplementor getSession()

Implements org.hibernate.type.descriptor.WrapperOptions.getSession.

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

Access to the current session.

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