// Copyright 2000-2006 Adobe Macromedia Software LLC and its licensors. All rights reserved.

//---------------   GLOBAL VARIABLES   ---------------
var MASK_Prepared = "\n"+
"<%\n"+
"Driver Driver##stname## = (Driver)Class.forName(##drivername##).newInstance();\n" + 
"Connection Conn##stname## = DriverManager.getConnection(##theConnectionString##,##theUserName##,##theUserPass##);\n" + 
"PreparedStatement ##stname## = Conn##stname##.prepareStatement(##theSQL##);" + 
"##setObjects##\n" +
"##stname##.executeUpdate();\n"+ 
"%>";

var MASK_Param  = "\n"+
"String ##stname##__##pname## = null;\n" + 
"if(##rexpression## != null){ ##stname##__##pname## = (String)##rexpression##;}\n";


var MASK_SQLParam = "\"+ ##stname##__##pname## + \""

var MASK_JspPreparedClose = "\n" + 
"<%\n"+
"Conn##stname##.close();\n" + 
"%>";

var MASK_SET_OBJECT = "\n##preparedName##.setObject(##parameterIndex##, ##preparedName##__##parameterName##);";
