public class

JdbcSupportImpl

extends Object
implements JdbcSupport
java.lang.Object
   ↳ org.hibernate.engine.jdbc.JdbcSupportImpl

Class Overview

TODO : javadoc

Summary

Public Constructors
JdbcSupportImpl(boolean useContextualLobCreation)
Public Methods
LobCreator getLobCreator()
Creates an instance of a LobCreator that does not use the underlying JDBC Connection to create LOBs.
LobCreator getLobCreator(LobCreationContext lobCreationContext)
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).
ResultSet wrap(ResultSet resultSet, ColumnNameCache columnNameCache)
Wrap the given ResultSet in one that caches the column-name -> column-index resolution.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.engine.jdbc.JdbcSupport

Public Constructors

public JdbcSupportImpl (boolean useContextualLobCreation)

Public Methods

public LobCreator getLobCreator ()

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

This method is here solely to support the older, now-deprecated method of creating LOBs via the various createBlob(byte[]) and createClob(Reader, int) methods on Hibernate.

Returns
  • The LOB creator.

public LobCreator getLobCreator (LobCreationContext lobCreationContext)

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 The context in which the LOB is being created
Returns
  • The LOB creator.

public ResultSet wrap (ResultSet resultSet, ColumnNameCache columnNameCache)

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

Parameters
resultSet The ResultSet to wrap.
columnNameCache The resolution cache.
Returns
  • The wrapper.