return createGeneratedKeys?stat.execute(sql.getSQLString(),Statement.RETURN_GENERATED_KEYS):stat.execute(sql.getSQLString());
}
public static boolean execute(PageContext pc,PreparedStatement ps) throws SQLException {
if(ps instanceof PreparedStatementPro) {
PreparedStatementPro psp=(PreparedStatementPro) ps;
return psp.execute(pc);
}
return ps.execute();
}