net.sourceforge.backpedal.impl.core
Class BindVariableResolverImpl
java.lang.Object
|
+--net.sourceforge.backpedal.impl.AbstractComponent
|
+--net.sourceforge.backpedal.impl.core.BindVariableResolverImpl
- All Implemented Interfaces:
- BindVariableResolver
- public class BindVariableResolverImpl
- extends AbstractComponent
- implements BindVariableResolver
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BindVariableResolverImpl
public BindVariableResolverImpl(BackpedalFactory backpedalFactory)
getBindVariableSetsForMutatedRows
public Collection getBindVariableSetsForMutatedRows(ParsedStatement parsedStatement,
BindVariableSet bindVariableSet,
TableMetadata tableMetadata,
Connection connection)
- Description copied from interface:
BindVariableResolver
- For all the rows affected by parsedStatement, return a BindVariableSet
instance that contains the current values for all thr columns affected by parsedStatement.
- Specified by:
getBindVariableSetsForMutatedRows in interface BindVariableResolver
- Parameters:
parsedStatement - a SQL statement that is about to execute on the databasebindVariableSet - the bind variables that will be used to populate parsedStatementtableMetadata - description of the columns in the table being affected by parsedStatementconnection - a real JDBC connection to the database (so that current values can be read)
- Returns:
- a collection of BindVariableSet instances, one for each row affected by parsedStatement.
Each BindVariableSet will contain the current values for the columns being affected in each row.
Copyright © Sourceforge. All Rights Reserved.