亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? stdjdbcdelegate.java

?? Quartz 是個開源的作業調度框架
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
        try {
            ps = conn
                    .prepareStatement(rtp(UPDATE_TRIGGER_STATE_FROM_OTHER_STATES_BEFORE_TIME));
            ps.setString(1, newState);
            ps.setString(2, oldState1);
            ps.setString(3, oldState2);
            ps.setLong(4, time);

            return ps.executeUpdate();
        } finally {
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    /**
     * <p>
     * Update all triggers in the given group to the given new state, if they
     * are in one of the given old states.
     * </p>
     * 
     * @param conn
     *          the DB connection
     * @param groupName
     *          the group containing the trigger
     * @param newState
     *          the new state for the trigger
     * @param oldState1
     *          one of the old state the trigger must be in
     * @param oldState2
     *          one of the old state the trigger must be in
     * @param oldState3
     *          one of the old state the trigger must be in
     * @return int the number of rows updated
     * @throws SQLException
     */
    public int updateTriggerGroupStateFromOtherStates(Connection conn,
            String groupName, String newState, String oldState1,
            String oldState2, String oldState3) throws SQLException {
        PreparedStatement ps = null;

        try {
            ps = conn
                    .prepareStatement(rtp(UPDATE_TRIGGER_GROUP_STATE_FROM_STATES));
            ps.setString(1, newState);
            ps.setString(2, groupName);
            ps.setString(3, oldState1);
            ps.setString(4, oldState2);
            ps.setString(5, oldState3);

            return ps.executeUpdate();
        } finally {
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    /**
     * <p>
     * Update the given trigger to the given new state, if it is in the given
     * old state.
     * </p>
     * 
     * @param conn
     *          the DB connection
     * @param triggerName
     *          the name of the trigger
     * @param groupName
     *          the group containing the trigger
     * @param newState
     *          the new state for the trigger
     * @param oldState
     *          the old state the trigger must be in
     * @return int the number of rows updated
     * @throws SQLException
     */
    public int updateTriggerStateFromOtherState(Connection conn,
            String triggerName, String groupName, String newState,
            String oldState) throws SQLException {
        PreparedStatement ps = null;

        try {
            ps = conn.prepareStatement(rtp(UPDATE_TRIGGER_STATE_FROM_STATE));
            ps.setString(1, newState);
            ps.setString(2, triggerName);
            ps.setString(3, groupName);
            ps.setString(4, oldState);

            return ps.executeUpdate();
        } finally {
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    /**
     * <p>
     * Update all of the triggers of the given group to the given new state, if
     * they are in the given old state.
     * </p>
     * 
     * @param conn
     *          the DB connection
     * @param groupName
     *          the group containing the triggers
     * @param newState
     *          the new state for the trigger group
     * @param oldState
     *          the old state the triggers must be in
     * @return int the number of rows updated
     * @throws SQLException
     */
    public int updateTriggerGroupStateFromOtherState(Connection conn,
            String groupName, String newState, String oldState)
            throws SQLException {
        PreparedStatement ps = null;

        try {
            ps = conn
                    .prepareStatement(rtp(UPDATE_TRIGGER_GROUP_STATE_FROM_STATE));
            ps.setString(1, newState);
            ps.setString(2, groupName);
            ps.setString(3, oldState);

            return ps.executeUpdate();
        } finally {
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    /**
     * <p>
     * Update the states of all triggers associated with the given job.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param jobName
     *          the name of the job
     * @param groupName
     *          the group containing the job
     * @param state
     *          the new state for the triggers
     * @return the number of rows updated
     */
    public int updateTriggerStatesForJob(Connection conn, String jobName,
            String groupName, String state) throws SQLException {
        PreparedStatement ps = null;

        try {
            ps = conn.prepareStatement(rtp(UPDATE_JOB_TRIGGER_STATES));
            ps.setString(1, state);
            ps.setString(2, jobName);
            ps.setString(3, groupName);

            return ps.executeUpdate();
        } finally {
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    public int updateTriggerStatesForJobFromOtherState(Connection conn,
            String jobName, String groupName, String state, String oldState)
            throws SQLException {
        PreparedStatement ps = null;

        try {
            ps = conn
                    .prepareStatement(rtp(UPDATE_JOB_TRIGGER_STATES_FROM_OTHER_STATE));
            ps.setString(1, state);
            ps.setString(2, jobName);
            ps.setString(3, groupName);
            ps.setString(4, oldState);

            return ps.executeUpdate();
        } finally {
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    /**
     * <p>
     * Delete all of the listeners associated with a given trigger.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param triggerName
     *          the name of the trigger whose listeners will be deleted
     * @param groupName
     *          the name of the group containing the trigger
     * @return the number of rows deleted
     */
    public int deleteTriggerListeners(Connection conn, String triggerName,
            String groupName) throws SQLException {
        PreparedStatement ps = null;

        try {
            ps = conn.prepareStatement(rtp(DELETE_TRIGGER_LISTENERS));
            ps.setString(1, triggerName);
            ps.setString(2, groupName);
            return ps.executeUpdate();
        } finally {
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    /**
     * <p>
     * Associate a listener with the given trigger.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param trigger
     *          the trigger
     * @param listener
     *          the name of the listener to associate with the trigger
     * @return the number of rows inserted
     */
    public int insertTriggerListener(Connection conn, Trigger trigger,
            String listener) throws SQLException {
        PreparedStatement ps = null;

        try {
            ps = conn.prepareStatement(rtp(INSERT_TRIGGER_LISTENER));
            ps.setString(1, trigger.getName());
            ps.setString(2, trigger.getGroup());
            ps.setString(3, listener);

            return ps.executeUpdate();
        } finally {
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    /**
     * <p>
     * Select the listeners associated with a given trigger.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param triggerName
     *          the name of the trigger
     * @param groupName
     *          the group containing the trigger
     * @return array of <code>String</code> trigger listener names
     */
    public String[] selectTriggerListeners(Connection conn, String triggerName,
            String groupName) throws SQLException {
        PreparedStatement ps = null;
        ResultSet rs = null;

        try {
            ps = conn.prepareStatement(rtp(SELECT_TRIGGER_LISTENERS));
            ps.setString(1, triggerName);
            ps.setString(2, groupName);
            rs = ps.executeQuery();

            ArrayList list = new ArrayList();
            while (rs.next()) {
                list.add(rs.getString(1));
            }
            Object[] oArr = list.toArray();
            String[] sArr = new String[oArr.length];
            System.arraycopy(oArr, 0, sArr, 0, oArr.length);
            return sArr;
        } finally {
            if (null != rs) {
                try {
                    rs.close();
                } catch (SQLException ignore) {
                }
            }
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    /**
     * <p>
     * Delete the simple trigger data for a trigger.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param triggerName
     *          the name of the trigger
     * @param groupName
     *          the group containing the trigger
     * @return the number of rows deleted
     */
    public int deleteSimpleTrigger(Connection conn, String triggerName,
            String groupName) throws SQLException {
        PreparedStatement ps = null;

        try {
            ps = conn.prepareStatement(rtp(DELETE_SIMPLE_TRIGGER));
            ps.setString(1, triggerName);
            ps.setString(2, groupName);

            return ps.executeUpdate();
        } finally {
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    /**
     * <p>
     * Delete the cron trigger data for a trigger.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param triggerName
     *          the name of the trigger
     * @param groupName
     *          the group containing the trigger
     * @return the number of rows deleted
     */
    public int deleteCronTrigger(Connection conn, String triggerName,
            String groupName) throws SQLException {
        PreparedStatement ps = null;

        try {
            ps = conn.prepareStatement(rtp(DELETE_CRON_TRIGGER));
            ps.setString(1, triggerName);
            ps.setString(2, groupName);

            return ps.executeUpdate();
        } finally {
            if (null != ps) {
                try {
                    ps.close();
                } catch (SQLException ignore) {
                }
            }
        }
    }

    /**
     * <p>
     * Delete the cron trigger data for a trigger.
     * </p>
     * 
     * @param conn
     *          the DB Connection
     * @param triggerName
     *          the name of the trigger
     * @param groupName
     *          the group containing the trigger
     * @return the number of rows deleted
     */
    public int deleteBlobTrigger(Connection conn, String triggerName,
            String groupName) throws SQLException {
        PreparedStatement ps = null;

        try {
            ps = conn.prepareStatement(rtp(DELETE_BLOB_TRIGGER));
            ps.setString(1, triggerName);
            ps.setString(2, groupName);

            return ps.executeUpdate();
        } finally

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品人人做人人爽人人| 国产91精品精华液一区二区三区 | 国产网红主播福利一区二区| 欧美一区二区三区免费在线看 | 久久久精品免费网站| 精品1区2区在线观看| 国产欧美日韩卡一| 亚洲综合在线五月| 日韩激情视频在线观看| 精品一区二区三区av| 午夜不卡av免费| 成人av在线看| 欧美一区二区三区在线看| 国产欧美精品一区aⅴ影院| 亚洲欧美视频在线观看| 蜜臀久久99精品久久久久久9| 国产麻豆成人传媒免费观看| 欧美做爰猛烈大尺度电影无法无天| 欧美日韩国产一级二级| 亚洲特级片在线| 国内精品免费**视频| 欧美体内she精高潮| 国产精品毛片久久久久久| 日韩精品国产欧美| 欧美精品日韩一区| 亚洲综合免费观看高清在线观看| 国产成人亚洲综合a∨猫咪| 在线不卡欧美精品一区二区三区| 欧美v日韩v国产v| 2020国产精品久久精品美国| 国产精品久久久久久久午夜片 | 国产精品一二三区| 欧美一区二区视频免费观看| 午夜精品久久久久久久久| 在线观看日韩一区| 亚洲电影视频在线| 欧美性三三影院| 日韩影院精彩在线| 欧美成人aa大片| caoporn国产精品| 欧美韩国日本一区| 欧美在线小视频| 免费精品视频在线| 国产精品家庭影院| 欧美人成免费网站| 国产一区二区三区观看| 国产精品无人区| 91蝌蚪porny成人天涯| 日韩av电影天堂| 久久久久99精品国产片| 91小视频在线免费看| 日日夜夜免费精品视频| 亚洲国产精品成人综合| 欧美性感一类影片在线播放| 精品亚洲欧美一区| 伊人婷婷欧美激情| 国产欧美日韩另类视频免费观看| 一本一道波多野结衣一区二区| 青青青伊人色综合久久| 一区二区三区四区精品在线视频| 精品国产精品一区二区夜夜嗨 | 一区二区高清免费观看影视大全| 5858s免费视频成人| 色综合久久66| www.av亚洲| 国产高清在线观看免费不卡| 石原莉奈在线亚洲三区| 洋洋av久久久久久久一区| 国产精品久久久久久久岛一牛影视 | 亚洲一区二区视频在线| 国产精品网站在线观看| 精品粉嫩超白一线天av| 26uuu亚洲| 久久精品人人爽人人爽| 欧美国产精品一区二区| 久久久久久亚洲综合影院红桃| 欧美人牲a欧美精品| 欧美亚洲日本一区| 在线一区二区视频| 在线电影院国产精品| 精品国产一区久久| 国产欧美日韩激情| 一区二区三区视频在线看| 亚洲成人一区二区| 91精品国产综合久久久久久久久久| 国产呦精品一区二区三区网站| 黄页网站大全一区二区| aaa欧美色吧激情视频| 欧美欧美欧美欧美| 欧美高清在线精品一区| 夜夜嗨av一区二区三区网页 | 亚洲精品国产高清久久伦理二区| 一区二区三区在线视频播放| 日韩电影在线观看一区| 成人午夜在线免费| 6080国产精品一区二区| 亚洲日本一区二区三区| 国内精品伊人久久久久av影院| 色综合天天综合网天天狠天天 | 无码av免费一区二区三区试看| 久久激情综合网| 欧美一区国产二区| 麻豆视频观看网址久久| 97超碰欧美中文字幕| 久久久久久99精品| 精品一区二区综合| 精品99999| 国产大陆精品国产| 亚洲国产精品ⅴa在线观看| 国产一区二区免费看| 日本一区二区不卡视频| 国产91对白在线观看九色| 久久亚洲欧美国产精品乐播| 麻豆国产欧美日韩综合精品二区| 在线成人午夜影院| 黄色资源网久久资源365| 欧美国产日韩一二三区| 不卡的电视剧免费网站有什么| 国产精品日韩成人| 在线观看一区日韩| 久久精品国产亚洲一区二区三区| 91麻豆精品国产综合久久久久久 | 国产精品久久久久国产精品日日| 懂色av一区二区三区蜜臀| 国产精品电影院| 日韩天堂在线观看| 成年人网站91| 久久99精品久久久| 综合欧美亚洲日本| 精品国产精品网麻豆系列 | eeuss鲁片一区二区三区在线观看| 亚洲图片你懂的| 日韩欧美激情在线| 色综合久久中文综合久久牛| 久色婷婷小香蕉久久| 亚洲另类在线视频| 亚洲欧美日韩精品久久久久| 欧美在线观看视频在线| 国产精品一二三四| 奇米777欧美一区二区| 亚洲无线码一区二区三区| 欧美国产日产图区| 2021国产精品久久精品| 精品免费99久久| 91麻豆精品国产91久久久| 色欧美片视频在线观看在线视频| 国产91精品久久久久久久网曝门| 精品亚洲免费视频| 国产综合色精品一区二区三区| 国产视频911| 91视频观看视频| 精品一区二区三区不卡| 蜜臀久久久99精品久久久久久| 亚洲美女一区二区三区| 亚洲美女一区二区三区| 亚洲一区视频在线观看视频| 亚洲伦理在线免费看| 偷窥少妇高潮呻吟av久久免费| 亚洲国产一区二区三区青草影视| 一区二区三区四区五区视频在线观看| 精品国偷自产国产一区| 中文字幕的久久| 亚洲天堂网中文字| 日韩福利视频导航| 国产精品夜夜嗨| 欧美午夜理伦三级在线观看| 91精品国产综合久久精品图片| 91.xcao| 久久一区二区视频| 亚洲一区二区三区国产| 日本免费在线视频不卡一不卡二| 激情综合网激情| 91精选在线观看| 亚洲精品美腿丝袜| 激情图片小说一区| 欧美在线观看一区| 日本一区二区在线不卡| 三级在线观看一区二区| 日本精品视频一区二区三区| 久久久天堂av| 精品一区二区三区在线观看| 欧美日韩亚洲综合一区二区三区| 国产偷国产偷亚洲高清人白洁 | 国产精品一区久久久久| 欧美日韩国产一区| 亚洲综合色在线| 在线观看三级视频欧美| 亚洲欧美另类在线| 在线免费观看一区| 亚洲动漫第一页| 精品成人私密视频| 国产一区二区三区在线观看免费| 欧美夫妻性生活| 国产一区二区久久| 2020国产精品自拍| 国产成人午夜视频| 一区二区三区在线观看视频| 在线视频国产一区| 麻豆成人综合网| 中文字幕乱码日本亚洲一区二区|