## ============================================================================ ## Filename : FWJavaBeanSQLStatementHelperTemplate.vm ## Note(s) : This template is used to generate the SQLStatementHelper interface ## used by the Java Bean DAO classes. ## ## Copyright (c) 2007 ThinkUI Software Inc. All rights reserved. ## ============================================================================ ## ## **************************************************************************** ## The following variables are available in this template. For more ## information on any of the following variable, please refer to the user guide. ## **************************************************************************** ## $projectName ## $authorName ## $headerText ## $className ## $packageName ## $subPackageName ## $prjPkgName ## $prjClassPrefix ## $superClassName ## $date ## $codeGen ## #if ($packageName) package $packageName; #end #parse( "ClassHeaderInclude.vm" ) import java.sql.PreparedStatement; import java.sql.SQLException; /** * This interface is used by the SQLCommand.executeUpdate() to bind any arguments * to the associated command prepared statement before performing execute. * This interface is used in conjunction with the SQLCommand class to * encapsulate the arguments to an SQL query (PreparedStatement). */ public interface SQLStatementHelper { /** * Bind arguments (if any) to the prepared statement. * @param stmt * @throws SQLException */ public void bindArguments(PreparedStatement stmt) throws SQLException; }