1   package net.sourceforge.backpedal.api.core;
2   
3   import net.sourceforge.backpedal.api.db.BindVariableSet;
4   import net.sourceforge.backpedal.api.db.TableMetadata;
5   
6   import java.sql.Connection;
7   import java.util.Collection;
8   
9   public interface BindVariableResolver {
10      /***
11       * For all the rows affected by parsedStatement, return a BindVariableSet
12       * instance that contains the current values for all thr columns affected by parsedStatement.
13       *
14       * @param parsedStatement a SQL statement that is about to execute on the database
15       * @param bindVariableSet the bind variables that will be used to populate parsedStatement
16       * @param tableMetadata description of the columns in the table being affected by parsedStatement
17       * @param connection a real JDBC connection to the database (so that current values can be read)
18       * @return a collection of BindVariableSet instances, one for each row affected by parsedStatement.
19       * Each BindVariableSet will contain the current values for the columns being affected in each row.
20       */
21      public Collection getBindVariableSetsForMutatedRows(ParsedStatement parsedStatement, BindVariableSet bindVariableSet,TableMetadata tableMetadata,Connection connection);
22  }
This page was automatically generated by Maven