public abstract class AbstractStatementProxyFactory<Z,D extends Database<Z>,S extends Statement> extends AbstractInputSinkRegistryProxyFactory<Z,D,Connection,S>
logger
Modifier | Constructor and Description |
---|---|
protected |
AbstractStatementProxyFactory(Connection parent,
ProxyFactory<Z,D,Connection,SQLException> parentFactory,
Invoker<Z,D,Connection,S,SQLException> invoker,
Map<D,S> map,
TransactionContext<Z,D> context) |
Modifier and Type | Method and Description |
---|---|
void |
addBatchInvoker(Invoker<Z,D,S,?,SQLException> invoker) |
void |
addBatchSQL(String sql) |
void |
clearBatch() |
void |
clearBatchInvokers() |
void |
close(D database,
S statement) |
List<String> |
getBatch() |
List<Lock> |
getBatchLocks() |
Connection |
getConnection(D database) |
void |
replay(D database,
S object) |
getInputSinkRegistry
evaluate, extractLocks, extractLocks, isSelectForUpdate, locatorsUpdateCopy
getTransactionContext
create, getDatabaseCluster, getParent, getParentProxy, getRoot, remove
addChild, entries, get, getExceptionFactory, record, removeChild, removeChildren, retain
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTransactionContext
getParent, getParentProxy, remove
addChild, createProxy, entries, get, getDatabaseCluster, getExceptionFactory, getRoot, record, removeChild, removeChildren, retain
protected AbstractStatementProxyFactory(Connection parent, ProxyFactory<Z,D,Connection,SQLException> parentFactory, Invoker<Z,D,Connection,S,SQLException> invoker, Map<D,S> map, TransactionContext<Z,D> context)
public Connection getConnection(D database) throws SQLException
SQLException
public List<Lock> getBatchLocks() throws SQLException
SQLException
public void addBatchSQL(String sql)
public void clearBatch()
public void addBatchInvoker(Invoker<Z,D,S,?,SQLException> invoker)
public void clearBatchInvokers()
public void replay(D database, S object) throws SQLException
replay
in interface ProxyFactory<Z,D extends Database<Z>,S extends Statement,SQLException>
replay
in class AbstractProxyFactory<Z,D extends Database<Z>,SQLException,S extends Statement,SQLException>
SQLException
Copyright © 2004–2013 Paul Ferraro. All rights reserved.