| net.sf.hajdbc.sql.AbstractStatementInvocationHandler
AbstractStatementInvocationHandler | abstract public class AbstractStatementInvocationHandler extends AbstractChildInvocationHandler (Code) | | author: Paul Ferraro< Parameters: D - > < Parameters: S - > |
Constructor Summary | |
protected | AbstractStatementInvocationHandler(Connection connection, SQLProxy<D, Connection> proxy, Invoker<D, Connection, S> invoker, Class<S> statementClass, Map<Database<D>, S> statementMap, TransactionContext<D> transactionContext, FileSupport fileSupport) |
Method Summary | |
protected void | close(Connection connection, S statement) | protected List<Lock> | extractLocks(String sql) | protected InvocationStrategy<D, S, ?> | getInvocationStrategy(S statement, Method method, Object[] parameters) | public SortedMap<Database<D>, R> | handlePartialFailure(SortedMap<Database<D>, R> resultMap, SortedMap<Database<D>, Exception> exceptionMap) | protected boolean | isRecordable(Method method) | protected boolean | isSQLMethod(Method method) | protected boolean | isSelectForUpdate(String sql) | protected void | postInvoke(S statement, Method method, Object[] parameters) | protected void | record(Method method, Invoker<D, S, ?> invoker) | protected void | replay(Database<D> database, S statement) |
AbstractStatementInvocationHandler | protected AbstractStatementInvocationHandler(Connection connection, SQLProxy<D, Connection> proxy, Invoker<D, Connection, S> invoker, Class<S> statementClass, Map<Database<D>, S> statementMap, TransactionContext<D> transactionContext, FileSupport fileSupport) throws Exception(Code) | | Parameters: connection - the parent connection of this statement Parameters: proxy - the parent invocation handler Parameters: invoker - the invoker that created this statement Parameters: statementClass - Parameters: statementMap - a map of database to underlying statement Parameters: transactionContext - Parameters: fileSupport - support object for streams throws: Exception - |
isRecordable | protected boolean isRecordable(Method method)(Code) | | |
|
|