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

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

?? mysqlxaconnection.java

?? 用于JAVA數據庫連接.解壓就可用,方便得很
?? 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.ConnectionImpl;import com.mysql.jdbc.Constants;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.ConnectionImpl 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(Constants.integerValueOf(1397), Constants.integerValueOf(XAException.XAER_NOTA));		temp.put(Constants.integerValueOf(1398), Constants.integerValueOf(XAException.XAER_INVAL));		temp.put(Constants.integerValueOf(1399), Constants.integerValueOf(XAException.XAER_RMFAIL));		temp.put(Constants.integerValueOf(1400), Constants.integerValueOf(XAException.XAER_OUTSIDE));		temp.put(Constants.integerValueOf(1401), Constants.integerValueOf(XAException.XAER_RMERR));		temp.put(Constants.integerValueOf(1402), Constants.integerValueOf(XAException.XA_RBROLLBACK));		MYSQL_ERROR_CODES_TO_XA_ERROR_CODES = Collections.unmodifiableMap(temp);	}	/**	 * @param connection	 */	public MysqlXAConnection(ConnectionImpl 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一区二区三区免费野_久草精品视频
亚洲成人av电影在线| 韩国v欧美v亚洲v日本v| 成人精品高清在线| 久久午夜羞羞影院免费观看| 青青草97国产精品免费观看无弹窗版| 成人av免费网站| 欧美国产欧美亚州国产日韩mv天天看完整| 日韩精品每日更新| 欧美精品视频www在线观看| 亚洲美女在线国产| 91黄色激情网站| 香蕉久久夜色精品国产使用方法 | 国产亚洲美州欧州综合国| 精品亚洲欧美一区| 国产精品毛片a∨一区二区三区| 国产高清久久久| 久久久亚洲精华液精华液精华液| 国产一区二区三区四区五区入口| 精品久久久久99| 成人av免费在线观看| 一区二区三区国产豹纹内裤在线| 日本大香伊一区二区三区| 亚洲高清免费观看高清完整版在线观看| 成人网在线播放| 亚洲影院久久精品| 欧美三电影在线| 奇米影视7777精品一区二区| 2021中文字幕一区亚洲| 99天天综合性| 亚洲综合视频在线| 精品粉嫩超白一线天av| 日本高清成人免费播放| 免费高清成人在线| 中文字幕亚洲在| 欧美一区二区三区色| 成人精品国产免费网站| 午夜私人影院久久久久| 国产清纯美女被跳蛋高潮一区二区久久w | 色欧美88888久久久久久影院| 亚洲一卡二卡三卡四卡五卡| www久久久久| 3d动漫精品啪啪| 91丨国产丨九色丨pron| 精品在线你懂的| 日日欢夜夜爽一区| 中文字幕精品一区二区精品绿巨人| 色老头久久综合| 色综合久久六月婷婷中文字幕| 国产福利一区二区三区在线视频| 精品一区二区免费| 国产曰批免费观看久久久| 国产在线播放一区三区四| 国产精品影音先锋| 丰满少妇久久久久久久| av动漫一区二区| 在线视频一区二区免费| 在线观看亚洲精品视频| 日韩视频在线观看一区二区| 久久精品亚洲麻豆av一区二区 | 亚洲一区中文在线| 蜜臀av性久久久久蜜臀aⅴ| 免费不卡在线视频| 国产黑丝在线一区二区三区| a在线欧美一区| 欧美人体做爰大胆视频| 国产喂奶挤奶一区二区三区| 亚洲最快最全在线视频| 国产精品一二三| 99久久伊人精品| 欧美日本一区二区| 亚洲欧洲av在线| 久久99精品久久久久| 一本到高清视频免费精品| 欧美r级在线观看| 亚洲一级二级三级在线免费观看| 男男视频亚洲欧美| 在线精品观看国产| 国产日韩欧美综合一区| 亚洲成人黄色小说| 成人午夜免费视频| 日韩欧美黄色影院| 亚洲超碰97人人做人人爱| av在线不卡网| 中文字幕第一区综合| 精品一区二区三区影院在线午夜| 色欧美88888久久久久久影院| 久久久亚洲精品石原莉奈| 日本不卡123| 91精品国产综合久久久久| 亚洲成av人片| 欧美精品三级在线观看| 亚洲成人av福利| 色综合久久久久网| 自拍av一区二区三区| 91福利资源站| 亚洲最色的网站| 欧美年轻男男videosbes| 自拍偷拍亚洲欧美日韩| 97久久超碰国产精品| ㊣最新国产の精品bt伙计久久| 成人毛片在线观看| 亚洲蜜臀av乱码久久精品蜜桃| 96av麻豆蜜桃一区二区| 亚洲一区二区精品久久av| 欧美一级久久久| 激情五月婷婷综合| 国产精品美女久久久久久久久久久| 成人av网站大全| 亚洲国产人成综合网站| 欧美一区二区三区免费在线看| 日本麻豆一区二区三区视频| 欧美一区二区人人喊爽| 另类成人小视频在线| 久久精品一二三| 欧美亚洲一区二区在线| 日韩精品一级二级| 国产欧美一区二区精品秋霞影院| 色婷婷av久久久久久久| 韩国三级电影一区二区| 一区二区三区日本| 久久久精品日韩欧美| 欧美伊人久久大香线蕉综合69| 美女mm1313爽爽久久久蜜臀| 国产日产精品1区| 777欧美精品| 欧洲一区在线电影| 国产精品一区二区久久不卡 | 奇米精品一区二区三区四区| 亚洲欧洲日韩综合一区二区| 日韩欧美在线影院| 欧美肥妇bbw| 欧美久久一二区| 欧美精品亚洲二区| 欧美日韩精品一二三区| 92精品国产成人观看免费| 不卡一区二区三区四区| 国产成人综合视频| 成人看片黄a免费看在线| 国产超碰在线一区| 国产一区二区不卡老阿姨| 蜜臀av一区二区三区| 蜜桃av一区二区在线观看| 亚洲成a人片在线观看中文| 色欲综合视频天天天| 日韩av中文字幕一区二区三区| 国产精品美女久久久久久久久| 久久久久久久久久久电影| 欧美精品一区二区三区蜜桃视频| 日韩一级完整毛片| 久久综合中文字幕| 中文字幕乱码久久午夜不卡| 国产精品美女一区二区| 玉米视频成人免费看| 亚洲欧美电影院| 日韩电影一区二区三区| 国产一区亚洲一区| caoporen国产精品视频| 欧美少妇性性性| 久久久久久免费毛片精品| 最新国产成人在线观看| 成人午夜视频在线观看| 欧美日韩国产综合久久| 久久综合色一综合色88| 亚洲丝袜精品丝袜在线| 爽好久久久欧美精品| 不卡的av在线播放| 欧美在线小视频| 欧美国产一区二区在线观看| 一区二区三区在线观看欧美| 日韩国产欧美一区二区三区| 成人免费毛片嘿嘿连载视频| 欧美体内she精视频| 日本一区二区免费在线观看视频| 亚洲一区二区黄色| 9i看片成人免费高清| 日韩免费视频线观看| 亚洲午夜免费电影| 国产ts人妖一区二区| 久久久久免费观看| 开心九九激情九九欧美日韩精美视频电影 | 99re成人在线| 国产精品久久二区二区| 黄一区二区三区| 91精品国产高清一区二区三区蜜臀 | 欧美高清视频不卡网| 亚洲人成小说网站色在线| 国产成人精品一区二区三区四区 | 久久99精品久久久久久国产越南| 欧美日韩电影在线播放| 一区二区成人在线观看| www.日韩在线| 亚洲精品免费在线观看| 色老头久久综合| 一区二区三区在线免费播放| 高清beeg欧美| 蜜臀av性久久久久蜜臀aⅴ流畅 | 国产69精品久久99不卡| 色先锋久久av资源部| 亚洲精品一区二区三区四区高清| 88在线观看91蜜桃国自产|