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

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

?? nonregisteringdriver.java

?? 基于java的oa系統
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* Copyright (C) 2002-2004 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 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;import java.sql.DriverPropertyInfo;import java.sql.SQLException;import java.util.Properties;import java.util.StringTokenizer;/** * The Java SQL framework allows for multiple database drivers.  Each driver * should supply a class that implements the Driver interface *  * <p> * The DriverManager will try to load as many drivers as it can find and then * for any given connection request, it will ask each driver in turn to try to * connect to the target URL. * </p> *  * <p> * It is strongly recommended that each Driver class should be small and * standalone so that the Driver class can be loaded and queried without * bringing in vast quantities of supporting code. * </p> *  * <p> * When a Driver class is loaded, it should create an instance of itself and * register it with the DriverManager.  This means that a user can load and * register a driver by doing Class.forName("foo.bah.Driver") * </p> * * @author Mark Matthews * @version $Id: NonRegisteringDriver.java,v 1.1.2.20 2004/08/09 22:15:12 mmatthew Exp $ * * @see org.gjt.mm.mysql.Connection * @see java.sql.Driver */public class NonRegisteringDriver implements java.sql.Driver {    /** Should the driver generate debugging output? */    public static final boolean DEBUG = false;    /** Should the driver generate method-call traces? */    public static final boolean TRACE = false;    /** Index for hostname coming out of parseHostPortPair(). */    protected final static int HOST_NAME_INDEX = 0;    /** Index for port # coming out of parseHostPortPair(). */    protected final static int PORT_NUMBER_INDEX = 1;    /**     * Construct a new driver and register it with DriverManager     *     * @throws java.sql.SQLException if a database error occurs.     */    public NonRegisteringDriver() throws java.sql.SQLException {        // Required for Class.forName().newInstance()    }    /**     * Gets the drivers major version number     *     * @return the drivers major version number     */    public int getMajorVersion() {        return getMajorVersionInternal();    }    /**     * Get the drivers minor version number     *     * @return the drivers minor version number     */    public int getMinorVersion() {        return getMinorVersionInternal();    }    /**     * The getPropertyInfo method is intended to allow a generic GUI tool to     * discover what properties it should prompt a human for in order to get     * enough information to connect to a database.     *      * <p>     * Note that depending on the values the human has supplied so far,     * additional values may become necessary, so it may be necessary to     * iterate through several calls to getPropertyInfo     * </p>     *     * @param url the Url of the database to connect to     * @param info a proposed list of tag/value pairs that will be sent on     *        connect open.     *     * @return An array of DriverPropertyInfo objects describing possible     *         properties.  This array may be an empty array if no properties     *         are required     *     * @exception java.sql.SQLException if a database-access error occurs     *     * @see java.sql.Driver#getPropertyInfo     */    public DriverPropertyInfo[] getPropertyInfo(String url, Properties info)        throws java.sql.SQLException {        if (info == null) {            info = new Properties();        }        if ((url != null) && url.startsWith("jdbc:mysql://")) {            info = parseURL(url, info);        }        DriverPropertyInfo hostProp = new DriverPropertyInfo("HOST",                info.getProperty("HOST"));        hostProp.required = true;        hostProp.description = "Hostname of MySQL Server";        DriverPropertyInfo portProp = new DriverPropertyInfo("PORT",                info.getProperty("PORT", "3306"));        portProp.required = false;        portProp.description = "Port number of MySQL Server";        DriverPropertyInfo dbProp = new DriverPropertyInfo("DBNAME",                info.getProperty("DBNAME"));        dbProp.required = false;        dbProp.description = "Database name";        DriverPropertyInfo userProp = new DriverPropertyInfo("user",                info.getProperty("user"));        userProp.required = true;        userProp.description = "Username to authenticate as";        DriverPropertyInfo passwordProp = new DriverPropertyInfo("password",                info.getProperty("password"));        passwordProp.required = true;        passwordProp.description = "Password to use for authentication";        DriverPropertyInfo autoReconnect = new DriverPropertyInfo("autoReconnect",                info.getProperty("autoReconnect", "false"));        autoReconnect.required = false;        autoReconnect.choices = new String[] { "true", "false" };        autoReconnect.description = "Should the driver try to re-establish bad connections?";        DriverPropertyInfo maxReconnects = new DriverPropertyInfo("maxReconnects",                info.getProperty("maxReconnects", "3"));        maxReconnects.required = false;        maxReconnects.description = "Maximum number of reconnects to attempt if autoReconnect is true";        ;        DriverPropertyInfo initialTimeout = new DriverPropertyInfo("initialTimeout",                info.getProperty("initialTimeout", "2"));        initialTimeout.required = false;        initialTimeout.description = "Initial timeout (seconds) to wait between failed connections";        DriverPropertyInfo profileSql = new DriverPropertyInfo("profileSql",                info.getProperty("profileSql", "false"));        profileSql.required = false;        profileSql.choices = new String[] { "true", "false" };        profileSql.description = "Trace queries and their execution/fetch times on STDERR (true/false) defaults to false";        ;        DriverPropertyInfo socketTimeout = new DriverPropertyInfo("socketTimeout",                info.getProperty("socketTimeout", "0"));        socketTimeout.required = false;        socketTimeout.description = "Timeout on network socket operations (0 means no timeout)";        ;        DriverPropertyInfo useSSL = new DriverPropertyInfo("useSSL",                info.getProperty("useSSL", "false"));        useSSL.required = false;        useSSL.choices = new String[] { "true", "false" };        useSSL.description = "Use SSL when communicating with the server?";        ;        DriverPropertyInfo useCompression = new DriverPropertyInfo("useCompression",                info.getProperty("useCompression", "false"));        useCompression.required = false;        useCompression.choices = new String[] { "true", "false" };        useCompression.description = "Use zlib compression when communicating with the server?";        ;        DriverPropertyInfo paranoid = new DriverPropertyInfo("paranoid",                info.getProperty("paranoid", "false"));        paranoid.required = false;        paranoid.choices = new String[] { "true", "false" };        paranoid.description = "Expose sensitive information in error messages and clear "            + "data structures holding sensitiven data when possible?";        ;        DriverPropertyInfo useHostsInPrivileges = new DriverPropertyInfo("useHostsInPrivileges",                info.getProperty("useHostsInPrivileges", "true"));        useHostsInPrivileges.required = false;        useHostsInPrivileges.choices = new String[] { "true", "false" };        useHostsInPrivileges.description = "Add '@hostname' to users in DatabaseMetaData.getColumn/TablePrivileges()";        ;        DriverPropertyInfo interactiveClient = new DriverPropertyInfo("interactiveClient",                info.getProperty("interactiveClient", "false"));        interactiveClient.required = false;        interactiveClient.choices = new String[] { "true", "false" };        interactiveClient.description = "Set the CLIENT_INTERACTIVE flag, which tells MySQL "            + "to timeout connections based on INTERACTIVE_TIMEOUT instead of WAIT_TIMEOUT";        ;        DriverPropertyInfo useTimezone = new DriverPropertyInfo("useTimezone",                info.getProperty("useTimezone", "false"));        useTimezone.required = false;        useTimezone.choices = new String[] { "true", "false" };        useTimezone.description = "Convert time/date types between client and server timezones";        DriverPropertyInfo serverTimezone = new DriverPropertyInfo("serverTimezone",                info.getProperty("serverTimezone", ""));        serverTimezone.required = false;        serverTimezone.description = "Override detection/mapping of timezone. Used when timezone from server doesn't map to Java timezone";        DriverPropertyInfo connectTimeout = new DriverPropertyInfo("connectTimeout",                info.getProperty("connectTimeout", "0"));        connectTimeout.required = false;        connectTimeout.description = "Timeout for socket connect (in milliseconds), with 0 being no timeout. Only works on JDK-1.4 or newer. Defaults to '0'.";        DriverPropertyInfo queriesBeforeRetryMaster = new DriverPropertyInfo("queriesBeforeRetryMaster",                info.getProperty("queriesBeforeRetryMaster", "50"));        queriesBeforeRetryMaster.required = false;        queriesBeforeRetryMaster.description = "Number of queries to issue before falling back to master when failed over "            + "(when using multi-host failover). Whichever condition is met first, "            + "'queriesBeforeRetryMaster' or 'secondsBeforeRetryMaster' will cause an "            + "attempt to be made to reconnect to the master. Defaults to 50.";        ;        DriverPropertyInfo secondsBeforeRetryMaster = new DriverPropertyInfo("secondsBeforeRetryMaster",                info.getProperty("secondsBeforeRetryMaster", "30"));        secondsBeforeRetryMaster.required = false;        secondsBeforeRetryMaster.description = "How long should the driver wait, when failed over, before attempting "            + "to reconnect to the master server? Whichever condition is met first, "            + "'queriesBeforeRetryMaster' or 'secondsBeforeRetryMaster' will cause an "            + "attempt to be made to reconnect to the master. Time in seconds, defaults to 30";        DriverPropertyInfo useStreamLengthsInPrepStmts = new DriverPropertyInfo("useStreamLengthsInPrepStmts",                info.getProperty("useStreamLengthsInPrepStmts", "true"));        useStreamLengthsInPrepStmts.required = false;        useStreamLengthsInPrepStmts.choices = new String[] { "true", "false" };        useStreamLengthsInPrepStmts.description = "Honor stream length parameter in "            + "PreparedStatement/ResultSet.setXXXStream() method calls (defaults to 'true')";        DriverPropertyInfo continueBatchOnError = new DriverPropertyInfo("continueBatchOnError",                info.getProperty("continueBatchOnError", "true"));        continueBatchOnError.required = false;        continueBatchOnError.choices = new String[] { "true", "false" };        continueBatchOnError.description = "Should the driver continue processing batch commands if "            + "one statement fails. The JDBC spec allows either way (defaults to 'true').";        DriverPropertyInfo allowLoadLocalInfile = new DriverPropertyInfo("allowLoadLocalInfile",                info.getProperty("allowLoadLocalInfile", "true"));        allowLoadLocalInfile.required = false;        allowLoadLocalInfile.choices = new String[] { "true", "false" };        allowLoadLocalInfile.description = "Should the driver allow use of 'LOAD DATA LOCAL INFILE...' (defaults to 'true').";        DriverPropertyInfo strictUpdates = new DriverPropertyInfo("strictUpdates",                info.getProperty("strictUpdates", "true"));        strictUpdates.required = false;        strictUpdates.choices = new String[] { "true", "false" };        strictUpdates.description = "Should the driver do strict checking (all primary keys selected) of updatable result sets?...' (defaults to 'true').";        DriverPropertyInfo ignoreNonTxTables = new DriverPropertyInfo("ignoreNonTxTables",                info.getProperty("ignoreNonTxTables", "false"));        ignoreNonTxTables.required = false;        ignoreNonTxTables.choices = new String[] { "true", "false" };        ignoreNonTxTables.description = "Ignore non-transactional table warning for rollback? (defaults to 'false').";        DriverPropertyInfo clobberStreamingResults = new DriverPropertyInfo("clobberStreamingResults",                info.getProperty("clobberStreamingResults", "false"));        clobberStreamingResults.required = false;        clobberStreamingResults.choices = new String[] { "true", "false" };        clobberStreamingResults.description = "This will cause a 'streaming' ResultSet to be automatically closed, "            + "and any oustanding data still streaming from the server to be discarded if another query is executed "            + "before all the data has been read from the server.";        DriverPropertyInfo reconnectAtTxEnd = new DriverPropertyInfo("reconnectAtTxEnd",                info.getProperty("reconnectAtTxEnd", "false"));        reconnectAtTxEnd.required = false;        reconnectAtTxEnd.choices = new String[] { "true", "false" };        reconnectAtTxEnd.description = "If autoReconnect is set to true, should the driver attempt reconnections"            + "at the end of every transaction? (true/false, defaults to false)";        DriverPropertyInfo alwaysClearStream = new DriverPropertyInfo("alwaysClearStream",                info.getProperty("alwaysClearStream", "false"));        alwaysClearStream.required = false;        alwaysClearStream.choices = new String[] { "true", "false" };        alwaysClearStream.description = "Should the driver clear any remaining data from the input stream before issuing"            + " a query? Normally not needed (approx 1-2%	perf. penalty, true/false, defaults to false)";        DriverPropertyInfo cachePrepStmts = new DriverPropertyInfo("cachePrepStmts",                info.getProperty("cachePrepStmts", "false"));        cachePrepStmts.required = false;        cachePrepStmts.choices = new String[] { "true", "false" };        cachePrepStmts.description = "Should the driver cache the parsing stage of PreparedStatements (true/false, default is 'false')";        DriverPropertyInfo prepStmtCacheSize = new DriverPropertyInfo("prepStmtCacheSize",                info.getProperty("prepStmtCacheSize", "25"));        prepStmtCacheSize.required = false;        prepStmtCacheSize.description = "If prepared statement caching is enabled, "            + "how many prepared statements should be cached? (default is '25')";

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产尤物一区二区在线| 欧美精品乱码久久久久久| 亚洲欧洲日本在线| 91麻豆福利精品推荐| 一区二区理论电影在线观看| 亚洲另类色综合网站| 在线视频综合导航| 日韩精品成人一区二区三区| 精品久久国产字幕高潮| 国产a区久久久| 亚洲欧美国产三级| 5858s免费视频成人| 国产一区二区精品久久99| 国产精品久久久久一区二区三区| 色综合一区二区| 亚洲不卡av一区二区三区| 欧美不卡视频一区| 99久久99久久综合| 性久久久久久久久久久久| 精品女同一区二区| 成人黄色a**站在线观看| 一区二区成人在线| 精品国产三级a在线观看| 成人综合日日夜夜| 亚洲超丰满肉感bbw| 久久综合999| 91网上在线视频| 日韩福利视频导航| 日本一区二区三级电影在线观看| 在线这里只有精品| 久久99精品国产91久久来源| 国产精品第一页第二页第三页| 精品视频在线视频| 国产精品亚洲视频| 一区二区成人在线观看| xnxx国产精品| 欧美在线色视频| 国产在线不卡一区| 91免费看`日韩一区二区| 蜜臀av一区二区在线观看| 国产精品视频九色porn| 欧美麻豆精品久久久久久| 国产精品一二三在| 亚洲国产精品久久久男人的天堂 | 国模少妇一区二区三区| 自拍偷自拍亚洲精品播放| 欧美一级高清片在线观看| 成人短视频下载| 日本不卡高清视频| 亚洲日本韩国一区| 久久久精品国产免大香伊| 欧美日韩免费一区二区三区视频 | 国产成+人+日韩+欧美+亚洲| 亚洲国产欧美在线人成| 亚洲国产精华液网站w| 制服丝袜中文字幕亚洲| 91丨porny丨中文| 国精产品一区一区三区mba视频 | 久久一区二区三区国产精品| 在线精品亚洲一区二区不卡| 国产精品99久久久久久似苏梦涵 | 中文在线一区二区| 午夜精品福利在线| 亚洲欧洲日韩女同| 亚洲精品一区二区精华| 欧美日韩精品福利| 97国产一区二区| 国产风韵犹存在线视精品| 日韩高清一级片| 夜夜精品浪潮av一区二区三区| 国产女同互慰高潮91漫画| 日韩免费性生活视频播放| 欧美三级视频在线观看| 91在线观看视频| 国v精品久久久网| 精品一区二区三区免费毛片爱| 亚洲电影第三页| 一区二区三区四区亚洲| 中文字幕亚洲综合久久菠萝蜜| 欧美精品一区视频| 欧美电影免费观看高清完整版在 | 国产乱码字幕精品高清av| 日韩国产精品久久| 亚洲成人动漫av| 一区二区三区四区在线| 一区精品在线播放| 国产精品视频线看| 欧美激情中文字幕| 国产亚洲女人久久久久毛片| 精品久久久久av影院| 日韩欧美精品三级| 3atv一区二区三区| 欧美日韩国产综合一区二区| 欧美在线一区二区三区| 亚洲美女淫视频| 国产精品久久影院| 欧美激情一区二区三区在线| 国产日韩欧美精品综合| 久久九九全国免费| 国产亚洲欧美日韩在线一区| 久久久久88色偷偷免费| 久久新电视剧免费观看| 久久亚洲精精品中文字幕早川悠里| 日韩免费电影一区| 欧美tickling网站挠脚心| 日韩欧美成人一区| 精品国产乱码久久久久久老虎| 欧美成人猛片aaaaaaa| 欧美电影免费观看高清完整版在线观看| 91精品国产黑色紧身裤美女| 欧美一区二区免费视频| 日韩免费高清视频| 久久综合视频网| 国产欧美视频一区二区三区| 欧美国产日韩在线观看| 国产精品女上位| 亚洲欧洲国产日本综合| 亚洲男同性恋视频| 亚洲高清免费一级二级三级| 婷婷久久综合九色综合伊人色| 日韩精品午夜视频| 精品中文字幕一区二区| 国产精品1024| av在线播放一区二区三区| 日本丰满少妇一区二区三区| 欧美亚洲动漫精品| 欧美一区二区成人| 久久久国产精品午夜一区ai换脸| 国产三级精品三级在线专区| 中文字幕亚洲综合久久菠萝蜜| 一区二区三区精品视频| 五月天激情综合网| 久久精品国产99国产| 国产婷婷色一区二区三区| 欧美经典一区二区| 亚洲欧美日韩系列| 午夜影院久久久| 国内精品久久久久影院薰衣草| 成人深夜在线观看| 在线观看91视频| 日韩欧美国产三级| 国产精品乱码人人做人人爱| 一区二区三区在线不卡| 日本强好片久久久久久aaa| 国产精品 欧美精品| 色婷婷综合久久久| 欧美一区二区在线免费观看| 久久久美女艺术照精彩视频福利播放| 国产精品的网站| 日韩国产一区二| 国产99一区视频免费| 色婷婷久久一区二区三区麻豆| 51久久夜色精品国产麻豆| 久久久久久亚洲综合| 亚洲精品高清视频在线观看| 日本午夜精品一区二区三区电影| 国产成人综合网站| 欧美性xxxxxxxx| 2019国产精品| 一区二区三区美女| 国产一区二区三区久久久| 91麻豆视频网站| 欧美r级在线观看| 亚洲激情自拍视频| 狠狠色综合播放一区二区| 91麻豆swag| 久久网站最新地址| 亚洲综合一区在线| 国产一区欧美二区| 欧美视频一区二区三区四区| 久久婷婷一区二区三区| 亚洲永久精品国产| 国产精品91xxx| 911精品国产一区二区在线| 国产精品久久久久久久午夜片| 欧美电影一区二区三区| 国产农村妇女毛片精品久久麻豆 | 麻豆成人综合网| 91免费视频网| 久久精品亚洲国产奇米99| 亚洲午夜电影在线观看| 国产成人日日夜夜| 91精品国产高清一区二区三区蜜臀| 国产精品久久网站| 久久99深爱久久99精品| 欧美午夜免费电影| 亚洲国产精品成人综合色在线婷婷 | 久久这里都是精品| 午夜精品久久久久久久蜜桃app| 成人在线视频一区| 日韩一区二区三区四区| 亚洲欧美日韩国产成人精品影院 | 国产精品一区二区x88av| 欧美女孩性生活视频| 亚洲欧洲一区二区三区| 国产曰批免费观看久久久| 8x福利精品第一导航| 一区二区在线免费观看| 成人综合激情网| 久久久亚洲午夜电影|