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

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

?? sqlmaptransactionmanager.java

?? 本套系統采用了業界當前最為流行的beanAction組件
?? JAVA
字號:
/*
 *  Copyright 2004 Clinton Begin
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package com.ibatis.sqlmap.client;

import javax.sql.DataSource;
import java.sql.Connection;
import java.sql.SQLException;

/**
 * This interface declares methods for demarcating SQL Map transactions.
 *
 * @see SqlMapSession 
 * @see SqlMapClient
 */
public interface SqlMapTransactionManager {

  /**
   * Demarcates the beginning of a transaction scope.  Transactions must be properly
   * committed or rolled back to be effective.  Use the following pattern when working
   * with transactions:
   * <pre>
   * try {
   *   sqlMap.startTransaction();
   *   // do work
   *   sqlMap.commitTransaction();
   * } finally {
   *   sqlMap.endTransaction();
   * }
   * </pre>
   * <p/>
   * Always call endTransaction() once startTransaction() has been called.
   *
   * @throws java.sql.SQLException If an error occurs while starting the transaction, or
   *                               the transaction could not be started.
   */
  public void startTransaction() throws SQLException;


  /**
   * Demarcates the beginning of a transaction scope using the specified transaction
   * isolation.  Transactions must be properly committed or rolled back to be effective.
   * Use the following pattern when working with transactions:
   * <pre>
   * try {
   *   sqlMap.startTransaction(Connection.TRANSACTION_REPEATABLE_READ);
   *   // do work
   *   sqlMap.commitTransaction();
   * } finally {
   *   sqlMap.endTransaction();
   * }
   * </pre>
   * <p/>
   * Always call endTransaction() once startTransaction() has been called.
   *
   * @throws java.sql.SQLException If an error occurs while starting the transaction, or
   *                               the transaction could not be started.
   */
  public void startTransaction(int transactionIsolation) throws SQLException;

  /**
   * Commits the currently started transaction.
   *
   * @throws SQLException If an error occurs while committing the transaction, or
   *                      the transaction could not be committed.
   */
  public void commitTransaction() throws SQLException;

  /**
   * Ends a transaction and rolls back if necessary.  If the transaction has
   * been started, but not committed, it will be rolled back upon calling
   * endTransaction().
   *
   * @throws SQLException If an error occurs during rollback or the transaction could
   *                      not be ended.
   */
  public void endTransaction() throws SQLException;

  /**
   * Allows the developer to easily use an externally supplied connection
   * when executing statements.
   * <p/>
   * <b>Important:</b> Using a user supplied connection basically sidesteps the transaction manager,
   * so you are responsible for appropriately.  Here's a (very) simple example (throws SQLException):
   * <pre>
   * try {
   *   Connection connection = dataSource.getConnection();
   *   sqlMap.setUserConnection(connection);
   *   // do work
   *   connection.commit();
   * } catch (SQLException e) {
   *     try {
   *       if (connection != null) commit.rollback();
   *     } catch (SQLException ignored) {
   *       // generally ignored
   *     }
   *     throw e;  // rethrow the exception
   * } finally {
   *   try {
   *     if (connection != null) connection.close();
   *   } catch (SQLException ignored) {
   *     // generally ignored
   *   }
   * }
   * </pre>
   *
   * @param connnection
   * @throws SQLException
   */
  public void setUserConnection(Connection connnection) throws SQLException;

  /**
   * Returns the current user supplied connection as set by setUserConnection().
   * <p/>
   * TODO : DEPRECATED
   *
   * @return The current user supplied connection.
   * @throws SQLException
   * @deprecated Use getCurrentConnection() instead.
   */
  public Connection getUserConnection() throws SQLException;

  /**
   * Returns the current connection in use.  If no connection exists null will
   * be returned. There may be no connection if no transaction has been started,
   * and if no user provided connection has been set.
   *
   * @return The current connection or null.
   * @throws SQLException
   */
  public Connection getCurrentConnection() throws SQLException;

  /**
   * Returns the DataSource instance currently being used by the SqlMapSession.
   *
   * @return The DataSource instance currently being used by the SqlMapSession.
   */
  public DataSource getDataSource();


}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲人成网站色在线观看| 奇米一区二区三区| 日韩你懂的在线播放| 成人av中文字幕| 麻豆精品一区二区三区| 亚洲精品国久久99热| 欧美v亚洲v综合ⅴ国产v| 在线观看不卡一区| 99精品国产91久久久久久| 精品一区二区免费| 日韩不卡一区二区三区| 一区二区欧美精品| 亚洲人亚洲人成电影网站色| 99久久婷婷国产综合精品电影 | 亚洲影视在线观看| 久久丝袜美腿综合| 91精品国产综合久久小美女| 国产成人综合亚洲网站| 韩国一区二区视频| 成人中文字幕合集| 99国产精品久久| 日本韩国精品在线| 7777女厕盗摄久久久| 欧美精品一区二区三区蜜臀| 亚洲国产精品精华液ab| 亚洲免费看黄网站| 色综合天天狠狠| 成人激情免费网站| 97se亚洲国产综合自在线不卡| 99天天综合性| 欧美日韩免费观看一区二区三区| 欧美一区二区三区人| 久久蜜桃av一区二区天堂 | 国产丝袜美腿一区二区三区| 欧美激情一区二区三区| 亚洲久本草在线中文字幕| 免费一级片91| 99精品视频在线免费观看| 欧美吞精做爰啪啪高潮| 欧美v日韩v国产v| 亚洲免费伊人电影| 精品一区二区久久| 欧美午夜精品久久久久久超碰| 26uuu久久综合| 亚洲综合免费观看高清在线观看| 麻豆精品在线观看| 91久久一区二区| 久久网站最新地址| 亚洲愉拍自拍另类高清精品| 国产美女精品人人做人人爽| 91视频国产观看| 日韩你懂的在线播放| 亚洲精品大片www| 国产一区亚洲一区| 欧美视频一区二| 亚洲国产经典视频| 日韩av二区在线播放| 97精品久久久午夜一区二区三区 | 99国产麻豆精品| 日韩欧美一级二级| 伊人婷婷欧美激情| 国产精品1区2区3区在线观看| 欧美色倩网站大全免费| 国产欧美精品一区aⅴ影院| 亚洲国产日韩av| 91免费在线视频观看| 久久久噜噜噜久久人人看| 五月婷婷欧美视频| 99国产精品久久| 国产精品色哟哟网站| 久草这里只有精品视频| 欧美性猛交一区二区三区精品| 国产精品三级久久久久三级| 久久9热精品视频| 欧美日本国产视频| 亚洲日本欧美天堂| youjizz久久| 国产日韩精品一区二区三区在线| 婷婷开心激情综合| 欧美亚州韩日在线看免费版国语版| 国产精品伦理一区二区| 国产成人av影院| 日韩精品中文字幕一区 | 欧洲精品一区二区三区在线观看| 国产亚洲综合色| 久久91精品国产91久久小草| 欧美精品v国产精品v日韩精品| 亚洲视频一区在线| jlzzjlzz欧美大全| 国产精品免费视频一区| 国产精品香蕉一区二区三区| 精品国产99国产精品| 日韩电影在线看| 欧美日韩亚洲综合在线 | 成人av动漫在线| 国产亚洲成aⅴ人片在线观看| 久久精品国产99国产精品| 制服丝袜激情欧洲亚洲| 日韩在线a电影| 欧美精品黑人性xxxx| 日本不卡在线视频| 欧美一级理论片| 日本中文在线一区| 欧美一区二区三区在线| 日本不卡视频在线观看| 日韩欧美国产麻豆| 蜜桃久久精品一区二区| 欧美精品一区男女天堂| 黄色小说综合网站| 久久噜噜亚洲综合| 成人激情小说网站| 亚洲男同1069视频| 欧美色图在线观看| 天使萌一区二区三区免费观看| 欧美一级在线观看| 精品在线一区二区| 久久蜜臀中文字幕| 成人深夜视频在线观看| 中文字幕永久在线不卡| 一本色道综合亚洲| 亚洲图片一区二区| 日韩欧美国产一区二区三区| 国产麻豆精品在线观看| 国产精品你懂的在线| 91麻豆文化传媒在线观看| 亚洲一区二区美女| 日韩欧美综合一区| 粉嫩av一区二区三区粉嫩| 亚洲同性gay激情无套| 欧美精品丝袜久久久中文字幕| 麻豆精品国产传媒mv男同| 国产欧美精品一区二区色综合朱莉| 99精品欧美一区二区蜜桃免费| 亚洲国产视频一区| 久久―日本道色综合久久| 99热99精品| 日韩国产在线观看一区| 久久精品人人做人人爽人人| 在线视频综合导航| 捆绑调教一区二区三区| 国产精品美女久久久久久久久| 在线精品视频免费观看| 久久精品国产秦先生| 国产精品人人做人人爽人人添| 91久久精品一区二区三区| 久久爱另类一区二区小说| 国产精品美女久久久久久久久| 欧美日韩国产小视频| 粉嫩一区二区三区在线看| 亚洲成人黄色影院| 国产欧美一区二区三区在线老狼| 精品视频在线看| 国产成人免费av在线| 日日摸夜夜添夜夜添国产精品| 欧美国产一区在线| 欧美一区二区免费| 91色九色蝌蚪| 激情综合网激情| 亚洲一区二区三区在线播放| 欧美v国产在线一区二区三区| 在线精品视频一区二区| 国产传媒欧美日韩成人| 日本欧美大码aⅴ在线播放| 亚洲欧洲国产日本综合| 久久婷婷国产综合国色天香| 欧美性受xxxx| 99久久99久久精品国产片果冻| 另类小说综合欧美亚洲| 亚洲一区在线视频观看| 欧美韩日一区二区三区四区| 日韩欧美一级二级| 欧美日韩一区二区三区四区五区| 岛国一区二区三区| 九九久久精品视频| 午夜精品福利一区二区三区av| 亚洲欧洲99久久| 久久精品夜夜夜夜久久| 欧美一区二区美女| 欧美性猛交xxxx乱大交退制版| www.成人网.com| 国产99久久久久| 国产在线一区二区综合免费视频| 婷婷国产在线综合| 亚洲一区二区三区影院| 最近日韩中文字幕| 国产欧美精品一区aⅴ影院 | 亚洲精选视频在线| 欧美国产精品一区二区| 精品噜噜噜噜久久久久久久久试看| 欧美天堂一区二区三区| 91在线观看美女| www.日韩精品| 国产精品91一区二区| 久久不见久久见中文字幕免费| 日韩成人伦理电影在线观看| 日韩精品一级中文字幕精品视频免费观看 | 亚洲成人av一区二区三区| 亚洲三级久久久| 1024成人网| 亚洲欧美日韩电影|