try {
setActiveStatement(pci,stat,sql);
return stat.executeUpdate(sql,autoGeneratedKeys);
}
finally {
pci.releaseActiveQuery();
}
}
public static int executeUpdate(PageContext pc, Statement stat, String sql, int[] columnIndexes) throws SQLException {
if(pc==null) return stat.executeUpdate(sql,columnIndexes);