private static int _update(Config config,Connection conn,String cfid, String applicationName, String strSQL,Struct data, long timeSpan, Log log, TimeZone tz) throws SQLException, PageException {
//String appName = pc.getApplicationContext().getName();
try{
SQLImpl sql = new SQLImpl(strSQL,new SQLItem[]{
new SQLItemImpl(createExpires(config,timeSpan),Types.VARCHAR),
new SQLItemImpl(new ScriptConverter().serializeStruct(data,ignoreSet),Types.VARCHAR),
new SQLItemImpl(cfid,Types.VARCHAR),
new SQLItemImpl(applicationName,Types.VARCHAR)
});
ScopeContext.info(log,sql.toString());