org.springframework.jdbc.support.lob |
Provides a stategy interface for Large OBject handling,
with implementations for various databases.
Can be used independently from jdbc.core and jdbc.object,
for example in custom JDBC access code.
|
Java Source File Name | Type | Comment |
AbstractLobHandler.java | Class | Abstract base class for LobHandler implementations. |
DefaultLobHandler.java | Class | Default implementation of the LobHandler interface. |
JtaLobCreatorSynchronization.java | Class | Callback for resource cleanup at the end of a JTA transaction. |
LobCreator.java | Interface | Interface that abstracts potentially database-specific creation of large binary
fields and large text fields. |
LobCreatorUtils.java | Class | Helper class for registering a transaction synchronization for closing
a LobCreator, preferring Spring transaction synchronization and falling
back to plain JTA transaction synchronization. |
LobHandler.java | Interface | Abstraction for handling large binary fields and large text fields in
specific databases, no matter if represented as simple types or Large OBjects.
Its main purpose is to isolate Oracle's peculiar handling of LOBs in
OracleLobHandler; most other databases should work with DefaultLobHandler.
Provides accessor methods for BLOBs and CLOBs, and acts as factory for
LobCreator instances, to be used as sessions for creating BLOBs or CLOBs.
LobCreators are typically instantiated for each statement execution or for
each transaction. |
OracleLobHandler.java | Class | LobHandler implementation for Oracle databases. |
SpringLobCreatorSynchronization.java | Class | Callback for resource cleanup at the end of a Spring transaction. |