| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JdbcSupport
Isolates Hibernate interactions with JDBC in terms of variations between JDBC 3 (JDK 1.4 and 1.5) and JDBC 4 (JDK 1.6).
| Method Summary | |
|---|---|
|  LobCreator | getLobCreator()Deprecated. Use getLobCreator(LobCreationContext)instead. | 
|  LobCreator | getLobCreator(LobCreationContext lobCreationContext)Create an instance of a LobCreatorappropriate 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 ResultSetin one that caches the column-name -> column-index resolution. | 
| Method Detail | 
|---|
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 created
ResultSet 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.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||