接口 WrapperOptions
-
- 所有已知实现类:
AbstractSessionImpl,AbstractSharedSessionContract,SessionDelegatorBaseImpl,SessionImpl,StatelessSessionImpl
public interface WrapperOptionsGives binding (nullSafeSet) and extracting (nullSafeGet) code access to options.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 TimeZonegetJdbcTimeZone()The JDBCTimeZoneused when persisting Timestamp and DateTime properties into the database.LobCreatorgetLobCreator()Obtain access to theLobCreatorSqlTypeDescriptorremapSqlTypeDescriptor(SqlTypeDescriptor sqlTypeDescriptor)Allow remapping of descriptors for dealing with sql type.booleanuseStreamForLobBinding()Should streams be used for binding LOB values.
-
-
-
方法详细资料
-
useStreamForLobBinding
boolean useStreamForLobBinding()
Should streams be used for binding LOB values.- 返回:
true/false
-
getLobCreator
LobCreator getLobCreator()
Obtain access to theLobCreator- 返回:
- The LOB creator
-
remapSqlTypeDescriptor
SqlTypeDescriptor remapSqlTypeDescriptor(SqlTypeDescriptor sqlTypeDescriptor)
Allow remapping of descriptors for dealing with sql type.- 参数:
sqlTypeDescriptor- The known descriptor- 返回:
- The remapped descriptor. May be the same as the known descriptor indicating no remapping.
-
getJdbcTimeZone
TimeZone getJdbcTimeZone()
The JDBCTimeZoneused when persisting Timestamp and DateTime properties into the database. This setting is used when storing timestamps using thePreparedStatement.setTimestamp(int, Timestamp, Calendar)method. This way, the storageTimeZonecan differ from the default JVM TimeZone given byTimeZone.getDefault().- 返回:
- JDBC
TimeZone
-
-