Top Description Fields Constructors Methods
org.hibernate.engine.jdbc

public Class JdbcSupportImpl

extends Object
implements JdbcSupport
Class Inheritance
All Implemented Interfaces
org.hibernate.engine.jdbc.JdbcSupport
Imports
java.sql.ResultSet

TODO : javadoc
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final boolean

Constructor Summary

AccessConstructor and Description
public
JdbcSupportImpl(boolean useContextualLobCreation)

Method Summary

Modifier and TypeMethod and Description
public LobCreator
getLobCreator()

Implements org.hibernate.engine.jdbc.JdbcSupport.getLobCreator.

Creates an instance of a LobCreator that does not use the underlying JDBC java.sql.Connection to create LOBs.
public LobCreator
getLobCreator(LobCreationContext
The context in which the LOB is being created
lobCreationContext
)

Implements org.hibernate.engine.jdbc.JdbcSupport.getLobCreator.

Create an instance of a LobCreator appropriate for the current environment, mainly meant to account for variance between JDBC 4 (<= JDK 1.6) and JDBC3 (>= JDK 1.5).
public ResultSet
wrap(ResultSet
The ResultSet to wrap.
resultSet
,
ColumnNameCache
The resolution cache.
columnNameCache
)

Implements org.hibernate.engine.jdbc.JdbcSupport.wrap.

Wrap the given ResultSet in one that caches the column-name -> column-index resolution.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

useContextualLobCreationback to summary
private final boolean useContextualLobCreation

Constructor Detail

JdbcSupportImplback to summary
public JdbcSupportImpl(boolean useContextualLobCreation)

Method Detail

getLobCreatorback to summary
public LobCreator getLobCreator()

Implements org.hibernate.engine.jdbc.JdbcSupport.getLobCreator.

Doc from org.hibernate.engine.jdbc.JdbcSupport.getLobCreator.

Creates an instance of a LobCreator that does not use the underlying JDBC java.sql.Connection to create LOBs.

This method is here solely to support the older, now-deprecated method of creating LOBs via the various org.hibernate.Hibernate#createBlob and org.hibernate.Hibernate#createClob methods on org.hibernate.Hibernate.

Returns:LobCreator

The LOB creator.

getLobCreatorback to summary
public LobCreator getLobCreator(LobCreationContext lobCreationContext)

Implements org.hibernate.engine.jdbc.JdbcSupport.getLobCreator.

Doc from org.hibernate.engine.jdbc.JdbcSupport.getLobCreator.

Create an instance of a LobCreator appropriate for the current environment, mainly meant to account for variance between JDBC 4 (<= JDK 1.6) and JDBC3 (>= JDK 1.5).

Parameters
lobCreationContext:LobCreationContext

The context in which the LOB is being created

Returns:LobCreator

The LOB creator.

wrapback to summary
public ResultSet wrap(ResultSet resultSet, ColumnNameCache columnNameCache)

Implements org.hibernate.engine.jdbc.JdbcSupport.wrap.

Doc from org.hibernate.engine.jdbc.JdbcSupport.wrap.

Wrap the given ResultSet in one that caches the column-name -> column-index resolution.

Parameters
resultSet:ResultSet

The ResultSet to wrap.

columnNameCache:ColumnNameCache

The resolution cache.

Returns:ResultSet

The wrapper.