|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 JdbcSupport
public LobCreator getLobCreator(LobCreationContext lobCreationContext)
JdbcSupport
LobCreator
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 JdbcSupport
lobCreationContext
- The context in which the LOB is being created
public ResultSet wrap(ResultSet resultSet, ColumnNameCache columnNameCache)
JdbcSupport
ResultSet
in one that caches the column-name -> column-index resolution.
wrap
in interface JdbcSupport
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 |