protected void attachParams ( List < ColumnConfig > cols , PreparedStatement stmt ) throws SQLException , DatabaseException { int i = 1 ; // index starts from 1 for ( ColumnConfig col : cols ) { LOG . fine ( LogType . LOG , "Applying column parameter = " + i + " for column " + col . getName ( ) ) ; applyColumnParameter ( stmt , i , col ) ; i ++ ; } }
Sets the list of bind variables for the execution of a DML statement