public interface JdbcSupport
| Modifier and Type | Method and Description |
|---|---|
LobCreator |
getLobCreator()
Deprecated.
Use
getLobCreator(LobCreationContext) instead. |
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. |
LobCreator getLobCreator()
getLobCreator(LobCreationContext) instead.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 Hibernate.createBlob(byte[]) and Hibernate.createClob(java.lang.String) methods on
Hibernate.LobCreator getLobCreator(LobCreationContext lobCreationContext)
LobCreator appropriate for the current environment, mainly meant to account for
variance between JDBC 4 (<= JDK 1.6) and JDBC3 (>= JDK 1.5).lobCreationContext - The context in which the LOB is being createdResultSet wrap(ResultSet resultSet, ColumnNameCache columnNameCache)
ResultSet in one that caches the column-name -> column-index resolution.resultSet - The ResultSet to wrap.columnNameCache - The resolution cache.Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved