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

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

?? mysqlxaconnection.java

?? mysql jdbc驅動程序 mysql jdbc驅動程序 mysql jdbc驅動程序 mysql jdbc驅動程序
?? JAVA
字號:
/* Copyright (C) 2005 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as  published by the Free Software Foundation. There are special exceptions to the terms and conditions of the GPL  as it is applied to this software. View the full text of the  exception in file EXCEPTIONS-CONNECTOR-J in the directory of this  software distribution. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */package com.mysql.jdbc.jdbc2.optional;import java.sql.Connection;import java.sql.ResultSet;import java.sql.SQLException;import java.sql.Statement;import java.util.ArrayList;import java.util.Collections;import java.util.HashMap;import java.util.List;import java.util.Map;import javax.sql.XAConnection;import javax.transaction.xa.XAException;import javax.transaction.xa.XAResource;import javax.transaction.xa.Xid;import com.mysql.jdbc.log.Log;/* * XA BEGIN <xid> [JOIN | RESUME] XA START TRANSACTION <xid> [JOIN | RESUME] XA * COMMIT <xid> [ONE PHASE] XA END <xid> [SUSPEND [FOR MIGRATE]] XA PREPARE * <xid> XA RECOVER XA ROLLBACK <xid> *//** * An object that provides support for distributed transactions. An * <code>XAConnection</code> object may be enlisted in a distributed * transaction by means of an <code>XAResource</code> object. A transaction * manager, usually part of a middle tier server, manages an * <code>XAConnection</code> object through the <code>XAResource</code> * object. * <P> * An application programmer does not use this interface directly; rather, it is * used by a transaction manager working in the middle tier server. *  * @since 1.4 */public class MysqlXAConnection extends MysqlPooledConnection implements		XAConnection, XAResource {	private com.mysql.jdbc.Connection underlyingConnection;	private final static Map MYSQL_ERROR_CODES_TO_XA_ERROR_CODES;	private Log log;	protected boolean logXaCommands;		static {		HashMap temp = new HashMap();		temp.put(new Integer(1397), new Integer(XAException.XAER_NOTA));		temp.put(new Integer(1398), new Integer(XAException.XAER_INVAL));		temp.put(new Integer(1399), new Integer(XAException.XAER_RMFAIL));		temp.put(new Integer(1400), new Integer(XAException.XAER_OUTSIDE));		temp.put(new Integer(1401), new Integer(XAException.XAER_RMERR));		temp.put(new Integer(1402), new Integer(XAException.XA_RBROLLBACK));		MYSQL_ERROR_CODES_TO_XA_ERROR_CODES = Collections.unmodifiableMap(temp);	}	/**	 * @param connection	 */	public MysqlXAConnection(com.mysql.jdbc.Connection connection, boolean logXaCommands)			throws SQLException {		super(connection);		this.underlyingConnection = connection;		this.log = connection.getLog();		this.logXaCommands = logXaCommands;	}	/**	 * Retrieves an <code>XAResource</code> object that the transaction	 * manager will use to manage this <code>XAConnection</code> object's	 * participation in a distributed transaction.	 * 	 * @return the <code>XAResource</code> object	 * @exception SQLException	 *                if a database access error occurs	 */	public XAResource getXAResource() throws SQLException {		return this;	}	/**	 * Obtains the current transaction timeout value set for this XAResource	 * instance. If XAResource.setTransactionTimeout was not used prior to	 * invoking this method, the return value is the default timeout set for the	 * resource manager; otherwise, the value used in the previous	 * setTransactionTimeout call is returned.	 * 	 * @return the transaction timeout value in seconds.	 * 	 * @throws XAException	 *             An error has occurred. Possible exception values are	 *             XAER_RMERR and XAER_RMFAIL.	 */	public int getTransactionTimeout() throws XAException {		// TODO Auto-generated method stub		return 0;	}	/**	 * Sets the current transaction timeout value for this XAResource instance.	 * Once set, this timeout value is effective until setTransactionTimeout is	 * invoked again with a different value.	 * 	 * To reset the timeout value to the default value used by the resource	 * manager, set the value to zero. If the timeout operation is performed	 * successfully, the method returns true; otherwise false.	 * 	 * If a resource manager does not support explicitly setting the transaction	 * timeout value, this method returns false.	 * 	 * @parameter seconds The transaction timeout value in seconds.	 * 	 * @return true if the transaction timeout value is set successfully;	 *         otherwise false.	 * 	 * @throws XAException	 *             An error has occurred. Possible exception values are	 *             XAER_RMERR, XAER_RMFAIL, or XAER_INVAL.	 */	public boolean setTransactionTimeout(int arg0) throws XAException {		// TODO Auto-generated method stub		return false;	}	/**	 * This method is called to determine if the resource manager instance	 * represented by the target object is the same as the resouce manager	 * instance represented by the parameter xares.	 * 	 * @parameter xares An XAResource object whose resource manager instance is	 *            to be compared with the resource manager instance of the	 *            target object.	 * 	 * @return true if it's the same RM instance; otherwise false.	 * 	 * @throws XAException	 *             An error has occurred. Possible exception values are	 *             XAER_RMERR and XAER_RMFAIL.	 */	public boolean isSameRM(XAResource xares) throws XAException {		if (xares instanceof MysqlXAConnection) {			return this.underlyingConnection					.isSameResource(((MysqlXAConnection) xares).underlyingConnection);		}		return false;	}	/**	 * This method is called to obtain a list of prepared transaction branches	 * from a resource manager. The transaction manager calls this method during	 * recovery to obtain the list of transaction branches that are currently in	 * prepared or heuristically completed states. 	 * 	 * The flag parameter indicates where the recover scan should start or end, 	 * or start and end. This method may be invoked one or more times during a 	 * recovery scan. The resource manager maintains a cursor which marks the 	 * current position of the prepared or heuristically completed transaction list. 	 * Each invocation of the recover method moves the cursor passed the set of Xids 	 * that are returned. 	 * 	 * Two consecutive invocation of this method that starts from the	 * beginning of the list must return the same list of transaction branches	 * unless one of the following takes place: 	 * 	 * - the transaction manager invokes the commit, forget, prepare, or rollback method for that resource	 * manager, between the two consecutive invocation of the recovery scan. 	 * 	 * - the resource manager heuristically completes some transaction branches	 * between the two invocation of the recovery scan.	 * 	 * @param flag	 *            One of TMSTARTRSCAN, TMENDRSCAN, TMNOFLAGS. TMNOFLAGS must be	 *            used when no other flags are set in the parameter.	 * 	 * @returns The resource manager returns zero or more XIDs of the	 *          transaction branches that are currently in a prepared or	 *          heuristically completed state. If an error occurs during the	 *          operation, the resource manager should throw the appropriate	 *          XAException.	 * 	 * @throws XAException	 *             An error has occurred. Possible values are XAER_RMERR,	 *             XAER_RMFAIL, XAER_INVAL, and XAER_PROTO.	 */	public Xid[] recover(int flag) throws XAException {		return recover(this.underlyingConnection, flag);	}		protected static Xid[] recover(Connection c, int flag) throws XAException {		/*		    The XA RECOVER statement returns information for those XA transactions on the MySQL server that are in the PREPARED state. (See Section 13.4.7.2, 揦A Transaction States

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91 com成人网| 欧美一区二区三区四区在线观看| 美女网站视频久久| 亚洲五月六月丁香激情| 亚洲激情av在线| 亚洲精品亚洲人成人网 | 婷婷丁香激情综合| 亚洲一区二区三区中文字幕| 亚洲一区二区三区精品在线| 亚洲美女视频在线观看| 亚洲一区二区三区视频在线播放 | 欧美剧情电影在线观看完整版免费励志电影| av在线不卡免费看| 99久久er热在这里只有精品15| 国产成人精品综合在线观看| 国产白丝精品91爽爽久久| 懂色av一区二区夜夜嗨| 波多野结衣精品在线| 一本大道久久a久久综合婷婷| 99久久国产免费看| 欧美人与禽zozo性伦| 欧美一卡在线观看| 国产欧美日产一区| 一级精品视频在线观看宜春院| 亚洲福利视频导航| 国产在线麻豆精品观看| 成人免费精品视频| 欧美日韩久久久久久| 精品动漫一区二区三区在线观看| 国产日韩欧美高清| 一区二区三区四区不卡在线| 午夜欧美视频在线观看| 国产原创一区二区| av网站一区二区三区| 欧美一区二区福利在线| 国产精品理伦片| 五月天精品一区二区三区| 国产精品自在在线| 欧美日韩三级视频| 国产精品私人自拍| 日韩成人av影视| 色噜噜狠狠色综合中国| 久久综合色8888| 亚洲一区免费观看| 国产jizzjizz一区二区| 91成人在线观看喷潮| 久久久亚洲午夜电影| 日韩激情视频网站| 99国产精品久久久| 久久久久久综合| 日本欧美韩国一区三区| 色婷婷激情一区二区三区| 2023国产精品视频| 天天影视色香欲综合网老头| 91免费看片在线观看| 久久久精品免费观看| 免费一级欧美片在线观看| 日本高清免费不卡视频| 国产午夜精品在线观看| 美国三级日本三级久久99 | 欧美成人猛片aaaaaaa| 亚洲在线中文字幕| 成年人国产精品| 国产欧美一区二区精品久导航 | 中文字幕欧美日韩一区| 六月丁香婷婷色狠狠久久| 欧美色图一区二区三区| 亚洲三级在线免费观看| 成人动漫在线一区| 欧美一级欧美三级| 日韩av一区二区在线影视| 在线免费观看日本欧美| 亚洲柠檬福利资源导航| 99久久精品免费| 国产精品久久久久桃色tv| 国产麻豆91精品| 精品黑人一区二区三区久久 | 中文字幕第一区| 国产宾馆实践打屁股91| 国产精品萝li| 91麻豆精品在线观看| 综合亚洲深深色噜噜狠狠网站| 成人免费看黄yyy456| 一区二区中文字幕在线| eeuss鲁片一区二区三区在线观看| 国产精品天美传媒| 色婷婷av一区二区三区软件| 亚洲国产日韩精品| 日韩亚洲欧美综合| 国产一区在线观看视频| 亚洲国产高清在线| 欧美伊人精品成人久久综合97| 亚洲一区二区三区四区中文字幕| 欧美日韩免费视频| 美女网站在线免费欧美精品| 国产欧美一区二区精品性| 91丝袜美腿高跟国产极品老师| 曰韩精品一区二区| 91麻豆精品国产91久久久使用方法 | 国产69精品久久777的优势| 久久先锋资源网| 高清shemale亚洲人妖| 国产在线视频不卡二| 日韩你懂的在线播放| 国产精品天美传媒| 在线影视一区二区三区| 免费观看久久久4p| 中文字幕成人在线观看| 欧美性淫爽ww久久久久无| 精品在线你懂的| 亚洲日本青草视频在线怡红院| 欧美日韩国产综合视频在线观看| 久久国产三级精品| 国产精品久久久久毛片软件| 欧美一区日本一区韩国一区| 成人免费毛片a| 麻豆精品国产91久久久久久| 中文字幕亚洲不卡| 精品国产髙清在线看国产毛片| 99久久夜色精品国产网站| 美女脱光内衣内裤视频久久网站| 国产精品久久久久影院老司 | 国产精品入口麻豆九色| 欧美一级视频精品观看| 91黄视频在线| 国产成人丝袜美腿| 日韩经典中文字幕一区| 亚洲色图制服丝袜| 久久久久久久综合| 欧美日本精品一区二区三区| 91视视频在线观看入口直接观看www | 日韩一二在线观看| 91国产视频在线观看| 成人爱爱电影网址| 国产精品一区二区三区乱码 | 国产精品久久久久天堂| 精品国免费一区二区三区| 7878成人国产在线观看| 日本道在线观看一区二区| 成人一道本在线| 国产酒店精品激情| 国产一区二区剧情av在线| 欧美v亚洲v综合ⅴ国产v| 欧美另类videos死尸| 色天使色偷偷av一区二区| 99久久免费视频.com| 国产盗摄一区二区| 国产不卡免费视频| 国产91在线观看丝袜| 风间由美一区二区av101| 国产一区二区在线观看免费| 久久不见久久见中文字幕免费| 日精品一区二区| 日韩二区三区四区| 日韩综合一区二区| 日韩在线播放一区二区| 日韩精品电影在线| 精品一区二区在线看| 国产老妇另类xxxxx| 成人午夜av在线| 91影视在线播放| 色婷婷激情久久| 在线电影院国产精品| 欧美一区二区三区成人| 精品三级在线观看| 中文字幕av资源一区| 亚洲人亚洲人成电影网站色| 亚洲黄网站在线观看| 午夜精品久久久久久不卡8050| 乱一区二区av| 成人综合在线观看| 91丝袜美腿高跟国产极品老师| 欧美日韩精品一区二区三区四区| 欧美一区二区在线观看| 久久婷婷色综合| 国产综合久久久久久久久久久久| 亚洲第一精品在线| 亚洲最大成人综合| 国产精品成人在线观看| 一级日本不卡的影视| 免费成人美女在线观看.| 国产suv一区二区三区88区| 色哟哟一区二区| 日韩欧美的一区| 成人免费在线播放视频| 日韩国产欧美在线视频| 豆国产96在线|亚洲| 欧美日韩一区三区四区| 久久精品一区二区三区不卡| 亚洲天堂2014| 久久99精品国产麻豆婷婷| hitomi一区二区三区精品| 91麻豆精品国产91久久久| 欧美韩国日本不卡| 日本欧美一区二区三区| 97成人超碰视| 久久久久久久久久电影| 亚洲aⅴ怡春院| 99久久国产免费看| 久久久美女艺术照精彩视频福利播放|