com.amazon.carbonado.repo.jdbc
Interface JDBCSupport<S extends Storable>
- All Superinterfaces:
- Capability, JDBCConnectionCapability, MasterSupport<S>, StorableSupport<S>, TriggerSupport<S>
public interface JDBCSupport<S extends Storable>
- extends MasterSupport<S>, JDBCConnectionCapability
- Author:
- Brian S O'Neill
convertBlob
Blob convertBlob(Blob blob,
JDBCBlobLoader loader)
throws FetchException
- Parameters:
loader - used to reload Blob outside original transaction
- Throws:
FetchException
convertClob
Clob convertClob(Clob clob,
JDBCClobLoader loader)
throws FetchException
- Parameters:
loader - used to reload Clob outside original transaction
- Throws:
FetchException
setBlobValue
Blob setBlobValue(PreparedStatement ps,
int column,
Blob blob)
throws PersistException
- Returns:
- original blob if too large and post-insert update is required, null otherwise
- Throws:
PersistException - instead of FetchException since this code is
called during an insert operation
setClobValue
Clob setClobValue(PreparedStatement ps,
int column,
Clob clob)
throws PersistException
- Returns:
- original clob if too large and post-insert update is required, null otherwise
- Throws:
PersistException - instead of FetchException since this code is
called during an insert operation
updateBlob
void updateBlob(Blob oldBlob,
Blob newBlob)
throws PersistException
- Throws:
PersistException
updateClob
void updateClob(Clob oldClob,
Clob newClob)
throws PersistException
- Throws:
PersistException
Copyright © 2006-2009 Amazon Technologies, Inc.. All Rights Reserved.