Package | Description |
---|---|
org.springframework.jdbc.core.support |
Classes supporting the
org.springframework.jdbc.core package. |
org.springframework.jdbc.support.lob |
Provides a stategy interface for Large OBject handling,
with implementations for various databases.
|
org.springframework.orm.hibernate3 |
Package providing integration of
Hibernate 3.x
with Spring concepts.
|
org.springframework.orm.hibernate3.support |
Classes supporting the
org.springframework.orm.hibernate3 package. |
Constructor and Description |
---|
AbstractLobCreatingPreparedStatementCallback(LobHandler lobHandler)
Create a new AbstractLobCreatingPreparedStatementCallback for the
given LobHandler.
|
SqlLobValue(byte[] bytes,
LobHandler lobHandler)
Create a new BLOB value with the given byte array.
|
SqlLobValue(InputStream stream,
int length,
LobHandler lobHandler)
Create a new BLOB/CLOB value with the given stream.
|
SqlLobValue(Reader reader,
int length,
LobHandler lobHandler)
Create a new CLOB value with the given character stream.
|
SqlLobValue(String content,
LobHandler lobHandler)
Create a new CLOB value with the given content string.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLobHandler
Abstract base class for
LobHandler implementations. |
class |
DefaultLobHandler
Default implementation of the
LobHandler interface. |
class |
OracleLobHandler
Deprecated.
in favor of
DefaultLobHandler for the Oracle 10g driver and
higher. Consider using the 10g/11g driver even against an Oracle 9i database!
DefaultLobHandler.setCreateTemporaryLob(boolean) is the direct equivalent of this
OracleLobHandler's implementation strategy, just using standard JDBC 4.0 API.
That said, in most cases, regular DefaultLobHandler setup will work fine as well. |
Modifier and Type | Method and Description |
---|---|
static LobHandler |
LocalSessionFactoryBean.getConfigTimeLobHandler()
Return the LobHandler for the currently configured Hibernate SessionFactory,
to be used by UserType implementations like ClobStringType.
|
Modifier and Type | Method and Description |
---|---|
void |
LocalSessionFactoryBean.setLobHandler(LobHandler lobHandler)
Set the LobHandler to be used by the SessionFactory.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
BlobStringType.nullSafeGetInternal(ResultSet rs,
String[] names,
Object owner,
LobHandler lobHandler) |
protected Object |
BlobByteArrayType.nullSafeGetInternal(ResultSet rs,
String[] names,
Object owner,
LobHandler lobHandler) |
protected Object |
ClobStringType.nullSafeGetInternal(ResultSet rs,
String[] names,
Object owner,
LobHandler lobHandler) |
protected Object |
BlobSerializableType.nullSafeGetInternal(ResultSet rs,
String[] names,
Object owner,
LobHandler lobHandler) |
protected abstract Object |
AbstractLobType.nullSafeGetInternal(ResultSet rs,
String[] names,
Object owner,
LobHandler lobHandler)
Template method to extract a value from the given result set.
|
Constructor and Description |
---|
AbstractLobType(LobHandler lobHandler,
TransactionManager jtaTransactionManager)
Constructor used for testing: takes an explicit LobHandler
and an explicit JTA TransactionManager (can be
null ). |
BlobByteArrayType(LobHandler lobHandler,
TransactionManager jtaTransactionManager)
Constructor used for testing: takes an explicit LobHandler
and an explicit JTA TransactionManager (can be
null ). |
BlobSerializableType(LobHandler lobHandler,
TransactionManager jtaTransactionManager)
Constructor used for testing: takes an explicit LobHandler
and an explicit JTA TransactionManager (can be
null ). |
BlobStringType(LobHandler lobHandler,
TransactionManager jtaTransactionManager)
Constructor used for testing: takes an explicit LobHandler
and an explicit JTA TransactionManager (can be
null ). |
ClobStringType(LobHandler lobHandler,
TransactionManager jtaTransactionManager)
Constructor used for testing: takes an explicit LobHandler
and an explicit JTA TransactionManager (can be
null ). |
Copyright © 2015. All rights reserved.