亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
www.亚洲激情.com| 日韩情涩欧美日韩视频| 欧美日韩大陆一区二区| 日韩美女视频在线| 亚洲视频一区二区在线观看| 久久国产精品露脸对白| 在线观看91精品国产入口| 国产亚洲一本大道中文在线| 午夜精品久久久| a级高清视频欧美日韩| 精品少妇一区二区三区日产乱码| 中文字幕日韩av资源站| 久久成人免费电影| 欧美男人的天堂一二区| 国产精品国产自产拍高清av| 麻豆高清免费国产一区| 欧美网站大全在线观看| 国产精品久久久久久久久免费相片| 日韩电影在线观看电影| 欧美在线小视频| 中文字幕中文字幕一区二区| 国产一区二区精品在线观看| 欧美大度的电影原声| 亚洲1区2区3区视频| 色94色欧美sute亚洲线路一ni| 亚洲国产精品高清| 国产99久久久精品| 国产欧美综合色| 国产电影一区二区三区| 精品国产伦理网| 蜜臀av亚洲一区中文字幕| 3d成人动漫网站| 亚洲成人av免费| 欧美日本在线看| 奇米色777欧美一区二区| 欧美一区二区三区在线看| 日韩国产精品久久| 欧美精品日日鲁夜夜添| 日韩精品亚洲一区二区三区免费| 欧美三电影在线| 首页综合国产亚洲丝袜| 欧美色爱综合网| 亚洲v中文字幕| 日韩欧美另类在线| 韩国v欧美v日本v亚洲v| 国产亚洲制服色| www.av亚洲| 亚洲国产欧美一区二区三区丁香婷| 欧美日韩国产乱码电影| 麻豆极品一区二区三区| 精品日韩一区二区三区免费视频| 国产剧情av麻豆香蕉精品| 亚洲欧美一区二区在线观看| 日本道色综合久久| 亚洲曰韩产成在线| 欧美一区日本一区韩国一区| 久久精品国产亚洲高清剧情介绍| 久久亚洲一区二区三区明星换脸 | 亚洲天堂网中文字| 日韩欧美一区电影| 国产精品99久久久久久似苏梦涵 | av不卡在线播放| 一区二区三区成人在线视频| 欧美精品在线一区二区三区| 久久 天天综合| 国产精品久久久爽爽爽麻豆色哟哟| 91麻豆自制传媒国产之光| 亚洲制服丝袜av| 久久嫩草精品久久久精品一| 色8久久人人97超碰香蕉987| 青青草原综合久久大伊人精品优势| 国产亚洲欧洲一区高清在线观看| 99r国产精品| 日本强好片久久久久久aaa| 国产亚洲午夜高清国产拍精品| 色琪琪一区二区三区亚洲区| 久久国产人妖系列| 亚洲综合在线免费观看| 日韩欧美国产精品一区| 国产成人精品一区二区三区四区| 一区二区三区资源| 精品精品欲导航| 在线免费一区三区| 国产精品69毛片高清亚洲| 亚洲18色成人| 亚洲人一二三区| 国产日韩欧美精品综合| 欧美一区二区二区| 在线观看亚洲精品| 99久久国产综合精品麻豆| 精品亚洲欧美一区| 亚洲va欧美va天堂v国产综合| 国产精品入口麻豆原神| www欧美成人18+| 91精品国产91久久久久久最新毛片 | 成人小视频免费在线观看| 午夜av电影一区| 亚洲精品网站在线观看| 亚洲欧美自拍偷拍| 国产精品视频九色porn| 久久香蕉国产线看观看99| 欧美一卡2卡3卡4卡| 91精品在线免费观看| 日本二三区不卡| 色婷婷av一区二区三区软件 | 欧美日韩国产经典色站一区二区三区| 国产精品18久久久久久vr| 日韩有码一区二区三区| 亚洲一二三四久久| 一区二区三区日韩欧美精品 | 日韩精品国产欧美| 亚洲电影激情视频网站| 一区二区三区国产豹纹内裤在线| 亚洲欧洲一区二区三区| 亚洲日本一区二区| 国产精品毛片无遮挡高清| 中文字幕精品三区| 亚洲婷婷综合色高清在线| 国产精品久久久久久久午夜片| 亚洲小说欧美激情另类| 一区二区三区不卡在线观看| 亚洲图片欧美一区| 五月天婷婷综合| 日本不卡视频一二三区| 韩国理伦片一区二区三区在线播放 | 亚洲电影一区二区| 午夜影院久久久| 午夜久久电影网| 免费观看久久久4p| 国产精品一区二区在线播放| 成人网在线播放| 91香蕉视频mp4| 欧美日韩国产一区| 日韩欧美一区二区久久婷婷| 久久久亚洲精华液精华液精华液| 国产精品三级视频| 亚洲激情男女视频| 日韩av二区在线播放| 激情图区综合网| 色综合欧美在线视频区| 欧美年轻男男videosbes| 欧美成人性福生活免费看| 国产日韩亚洲欧美综合| 亚洲猫色日本管| 免费观看久久久4p| 99久久99久久精品国产片果冻| 欧美日韩综合色| 久久日韩精品一区二区五区| 国产精品国产三级国产有无不卡 | 亚洲四区在线观看| 亚洲123区在线观看| 狠狠色狠狠色综合日日91app| 不卡的av电影在线观看| 欧美日本视频在线| 欧美高清在线视频| 天天爽夜夜爽夜夜爽精品视频| 国产资源在线一区| 精品视频1区2区3区| 国产欧美日韩精品一区| 午夜不卡在线视频| 99久久精品国产麻豆演员表| 日韩欧美你懂的| 一区二区三区高清在线| 国产精品18久久久久久久久 | 久久久久久亚洲综合影院红桃| 亚洲日本在线a| 国产福利视频一区二区三区| 欧美日韩国产高清一区| 国产精品二三区| 久久国产日韩欧美精品| 在线观看欧美精品| 国产精品久久久久久户外露出 | 综合色中文字幕| 高清视频一区二区| 色老综合老女人久久久| 精品国产区一区| 午夜电影久久久| 色爱区综合激月婷婷| 国产成人福利片| 精品成人一区二区| 日韩av一区二区三区四区| 免费看日韩精品| 亚洲综合色婷婷| 欧美性色黄大片手机版| 亚洲成人免费在线| 91精品在线免费观看| 激情图片小说一区| 国产精品国产三级国产有无不卡| 91视视频在线直接观看在线看网页在线看| 最新国产精品久久精品| 色综合久久久久| 日本91福利区| 国产女人18毛片水真多成人如厕| 国产91对白在线观看九色| 伊人一区二区三区| 日韩精品一区二区三区在线观看| 国产一区二区三区av电影| 136国产福利精品导航| 91精品国产福利| gogogo免费视频观看亚洲一|