|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.engine.jdbc.JdbcSupportImpl
public class JdbcSupportImpl
TODO : javadoc
| Constructor Summary | |
|---|---|
JdbcSupportImpl(boolean useContextualLobCreation)
|
|
| Method Summary | |
|---|---|
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 envionment, 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JdbcSupportImpl(boolean useContextualLobCreation)
| Method Detail |
|---|
public LobCreator getLobCreator()
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.
getLobCreator in interface JdbcSupportpublic LobCreator getLobCreator(LobCreationContext lobCreationContext)
JdbcSupportLobCreator appropriate for the current envionment, mainly meant to account for
variance between JDBC 4 (<= JDK 1.6) and JDBC3 (>= JDK 1.5).
getLobCreator in interface JdbcSupportlobCreationContext - The context in which the LOB is being created
public ResultSet wrap(ResultSet resultSet,
ColumnNameCache columnNameCache)
JdbcSupportResultSet in one that caches the column-name -> column-index resolution.
wrap in interface JdbcSupportresultSet - The ResultSet to wrap.columnNameCache - The resolution cache.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||