wt.pds
Class BasicLobHandler
java.lang.Object
wt.pds.AbstractLobHandler
wt.pds.BasicLobHandler
- All Implemented Interfaces:
- LobHandler
- public class BasicLobHandler
- extends AbstractLobHandler
This class provides a basic Lob Handler implementation using JDBC.
Supported API: false
Extendable: false
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
DEBUG
public static final boolean DEBUG
LOG
private static final DebugWriter LOG
BasicLobHandler
public BasicLobHandler()
setLob
public void setLob(WTConnection a_connection,
LobLocator a_lobLocator,
InputStream a_inputStream,
long a_length)
throws DatastoreException
- Set the data in the InputStream to the specified LOB.
Supported API: false
- Specified by:
setLob
in interface LobHandler
- Specified by:
setLob
in class AbstractLobHandler
- Parameters:
a_connection
- Connection to the databasea_lobLocator
- specifies the Lob columna_inputStream
- Data stream for input to the loba_length
- Number of bytes to set
- Throws:
DatastoreException
setLob
public long setLob(WTConnection a_connection,
LobLocator a_lobLocator,
InputStream a_inputStream)
throws DatastoreException
- Set the data in the InputStream to the specified LOB.
Supported API: false
- Specified by:
setLob
in interface LobHandler
- Specified by:
setLob
in class AbstractLobHandler
- Parameters:
a_connection
- Connection to the databasea_lobLocator
- specifies the Lob columna_inputStream
- Data stream for input to the lob
- Returns:
- long
- Throws:
DatastoreException
setObjectAsLob
public void setObjectAsLob(WTConnection a_connection,
LobLocator a_lobLocator,
Object a_object)
throws DatastoreException
- Set the object as LOB.
Supported API: false
- Specified by:
setObjectAsLob
in interface LobHandler
- Specified by:
setObjectAsLob
in class AbstractLobHandler
- Parameters:
a_connection
- Connection to the databasea_lobLocator
- specifies the Lob columna_object
- Object to set
- Throws:
DatastoreException