public interface JDBCSupport<S extends Storable> extends MasterSupport<S>, JDBCConnectionCapability
Modifier and Type | Method and Description |
---|---|
Blob |
convertBlob(java.sql.Blob blob,
JDBCBlobLoader loader) |
Clob |
convertClob(java.sql.Clob clob,
JDBCClobLoader loader) |
Blob |
setBlobValue(java.sql.PreparedStatement ps,
int column,
Blob blob) |
Clob |
setClobValue(java.sql.PreparedStatement ps,
int column,
Clob clob) |
void |
updateBlob(Blob oldBlob,
Blob newBlob) |
void |
updateClob(Clob oldClob,
Clob newClob) |
getSequenceValueProducer
getDeleteTrigger, getInsertTrigger, getLoadTrigger, getUpdateTrigger, locallyDisableLoadTrigger, locallyEnableLoadTrigger
getRootRepository, isPropertySupported
getConnection, getDatabaseProductName, isTransactionForUpdate, isUniqueConstraintError, toFetchException, toPersistException, yieldConnection
Blob convertBlob(java.sql.Blob blob, JDBCBlobLoader loader) throws FetchException
loader
- used to reload Blob outside original transactionFetchException
Clob convertClob(java.sql.Clob clob, JDBCClobLoader loader) throws FetchException
loader
- used to reload Clob outside original transactionFetchException
Blob setBlobValue(java.sql.PreparedStatement ps, int column, Blob blob) throws PersistException
PersistException
- instead of FetchException since this code is
called during an insert operationClob setClobValue(java.sql.PreparedStatement ps, int column, Clob clob) throws PersistException
PersistException
- instead of FetchException since this code is
called during an insert operationvoid updateBlob(Blob oldBlob, Blob newBlob) throws PersistException
PersistException
void updateClob(Clob oldClob, Clob newClob) throws PersistException
PersistException
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.