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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? sqlmaptransactionmanager.java

?? ibatis源代碼,ibatis2.7
?? 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();


}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
韩国v欧美v亚洲v日本v| 亚洲国产cao| 国产河南妇女毛片精品久久久 | www.一区二区| 国产精品热久久久久夜色精品三区| 国产精一品亚洲二区在线视频| 亚洲国产精品精华液ab| www.欧美.com| 亚洲一区二区三区视频在线 | eeuss鲁片一区二区三区在线观看| 国产精品伦一区| 在线观看三级视频欧美| 首页国产丝袜综合| 久久久夜色精品亚洲| 成人av电影在线观看| 一区二区三区四区蜜桃| 91精品国产一区二区三区| 国产一区二区三区免费看| 亚洲欧美自拍偷拍| 欧美性大战久久久久久久| 蜜桃一区二区三区在线观看| 久久久精品免费网站| 97久久精品人人做人人爽50路| 亚洲一二三四区不卡| 欧美精品一区二区在线观看| 99精品久久免费看蜜臀剧情介绍| 亚洲电影一区二区| 久久久久久日产精品| 欧美视频在线一区二区三区 | 欧美欧美欧美欧美| 国产乱码精品一区二区三区五月婷| 亚洲国产高清在线观看视频| 欧美三级三级三级爽爽爽| 国内精品不卡在线| 亚洲午夜久久久久久久久电影网 | 国产欧美日本一区视频| 91黄色激情网站| 国产伦精品一区二区三区免费迷| 亚洲欧美区自拍先锋| 精品国产91久久久久久久妲己| www.亚洲国产| 日韩影院免费视频| 亚洲精品国产精品乱码不99| 久久综合成人精品亚洲另类欧美| 95精品视频在线| 国产一区不卡视频| 日韩不卡一二三区| 亚洲欧美激情小说另类| 国产午夜亚洲精品午夜鲁丝片| 欧美日韩在线直播| 91浏览器在线视频| 成人午夜视频免费看| 青椒成人免费视频| 性做久久久久久久久| 亚洲精品视频在线| 欧美激情在线一区二区| 亚洲精品在线三区| 日韩欧美国产麻豆| 欧美群妇大交群中文字幕| 在线影院国内精品| 一本久道久久综合中文字幕 | 亚洲精品自拍动漫在线| 欧美激情一区二区在线| 久久嫩草精品久久久精品| 欧美另类久久久品| 欧美色手机在线观看| 色悠悠亚洲一区二区| 99免费精品在线| 成人一区二区三区视频在线观看 | 国产精品成人一区二区三区夜夜夜| 欧美一区二区三区视频在线观看| 在线视频欧美精品| 欧美在线观看视频一区二区| 91麻豆国产自产在线观看| 99久久精品国产网站| www.综合网.com| 91在线观看一区二区| 91一区二区在线观看| 色就色 综合激情| 色呦呦国产精品| 欧美在线观看你懂的| 精品视频资源站| 7777精品伊人久久久大香线蕉的 | 午夜一区二区三区在线观看| 一区二区三区日本| 亚洲小说欧美激情另类| 婷婷综合另类小说色区| 秋霞电影一区二区| 久久精品噜噜噜成人av农村| 国产真实乱偷精品视频免| 国产乱码精品一品二品| 粉嫩aⅴ一区二区三区四区五区| 国产69精品一区二区亚洲孕妇| 国产成人午夜视频| 91色porny蝌蚪| 精品视频在线视频| 亚洲精品一区二区三区精华液 | 国产91在线|亚洲| 成人高清视频免费观看| 色婷婷亚洲一区二区三区| 精品污污网站免费看| 欧美电视剧在线看免费| 欧美国产视频在线| 亚洲一区二区三区四区中文字幕 | 国内精品嫩模私拍在线| 欧美日韩精品一区二区天天拍小说 | 91捆绑美女网站| 欧美精品日韩综合在线| 精品粉嫩aⅴ一区二区三区四区| 欧美国产国产综合| 亚洲成人先锋电影| 国产精品99久久久久久久vr| 91丨porny丨蝌蚪视频| 欧美日本视频在线| 久久精品无码一区二区三区| 亚洲精选视频在线| 激情综合五月天| 91国偷自产一区二区开放时间| 91精品国产综合久久婷婷香蕉| 国产日韩精品一区二区三区在线| 亚洲精品美腿丝袜| 国内不卡的二区三区中文字幕 | 国产电影一区在线| 在线观看av一区二区| 久久日韩粉嫩一区二区三区| 亚洲靠逼com| 国产高清久久久| 欧美丰满美乳xxx高潮www| 国产精品丝袜一区| 久久不见久久见中文字幕免费| av一区二区三区四区| 精品少妇一区二区三区日产乱码| 亚洲欧洲日产国产综合网| 美日韩一级片在线观看| 欧美伊人精品成人久久综合97| 久久夜色精品一区| 午夜私人影院久久久久| 成人av电影在线| 精品毛片乱码1区2区3区| 午夜天堂影视香蕉久久| 91在线高清观看| 国产亚洲欧美激情| 麻豆精品蜜桃视频网站| 在线观看视频91| 亚洲欧美视频一区| 成人一级片网址| 欧美xfplay| 日本va欧美va欧美va精品| 欧美在线影院一区二区| 最新不卡av在线| 成人午夜激情在线| 国产日韩在线不卡| 国产久卡久卡久卡久卡视频精品| 91超碰这里只有精品国产| 亚洲最大色网站| 91免费在线看| 亚洲精品成人悠悠色影视| 99国内精品久久| 亚洲天堂av一区| 91同城在线观看| 日韩一区中文字幕| 色欧美日韩亚洲| 一区二区三区日本| 欧美性大战久久久久久久| 亚洲欧洲www| 色哟哟一区二区三区| 亚洲精品va在线观看| 91久久精品国产91性色tv| 一区二区成人在线观看| 欧美手机在线视频| 五月天激情小说综合| 欧美精品在线观看一区二区| 五月天精品一区二区三区| 91麻豆精品国产91久久久资源速度 | 六月丁香婷婷色狠狠久久| 欧美一区二区三区影视| 欧美aaa在线| 国产亚洲精品免费| 成人久久18免费网站麻豆| 中文字幕日韩精品一区| 日本久久电影网| 五月综合激情日本mⅴ| 欧美大片国产精品| 国产成人小视频| 一区二区三区视频在线观看| 欧美最猛黑人xxxxx猛交| 亚洲超丰满肉感bbw| 欧美大片一区二区| 床上的激情91.| 一区二区三区美女视频| 这里只有精品电影| 国产乱人伦偷精品视频免下载| 国产精品久久久久一区| 欧洲精品一区二区| 蜜臀av一级做a爰片久久| 久久久久亚洲蜜桃| 在线观看日产精品| 老司机免费视频一区二区| 国产欧美一区二区精品久导航| 色一区在线观看|