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

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

?? dbconnection.java

?? Town是一個100% 純Java API
?? JAVA
字號:
package com.workingdogs.town;

import java.io.*;
import java.sql.*;
import java.util.*;

import com.javaexchange.dbConnectionBroker.*;

/*
Town, a Java JDBC abstraction layer
Copyright (C) 1999  Serge Knystautas, Jon Stevens

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

This library 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
Library General Public License for more details.

You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA  02111-1307, USA.
*/

/**
 * This base class handles connection management, creating Connection objects from connection
 * strings (using the connection pooler), and closing connections when complete.  Both the abstract
 * DateSet class extends this, as well as the simple ExecuteStatement class.
 * @author Serge Knystautas <a href="mailto:sergek@lokitech.com">sergek@lokitech.com</a>
 * @version 1.0
 */
public abstract class DBConnection
{
    /** the Statement for this DBConnection */
    protected Statement stmt = null;
    /** this DBConnection's connection object */
    protected Connection dbconn = null;

    /** flag of whether this DataSet has been closed */
    private boolean closed = false;
    /** this is the connection's driver */
    private String driver = null;
    /** this is the connection's JDBC connection string */
    private String connString = null;
    /** this is the connection's username */
    private String username = null;
    /** this is the connection's password */
    private String password = null;
    /** this is the broker object for this driver, connString, username, and password */
    private DbConnectionBroker broker = null;

    private static Hashtable brokers = new Hashtable ();
    /**
     * DBConnection constructor comment.
     */
    public DBConnection(String driver,
            String connString) throws DataSetException, ConnectionException
    {
        this (driver, connString, null, null);
    }
    /**
      * DBConnection constructor comment.
      */
    public DBConnection(String driver, String connString,
            String username, String password) throws DataSetException,
    ConnectionException
    {
        this.driver = driver;
        this.connString = connString;
        this.username = username;
        this.password = password;

        if (driver == null)
            throw new DataSetException ("You need to specify a valid driver!");

        if (connString == null)
            throw new DataSetException ("You need to specify a valid JDBC connection string!");

        String key = (driver + '\t' + connString).toLowerCase ();

        if (username != null)
            key += '\t' + username.toLowerCase ();
        if (password != null)
            key += '\t' + password.toLowerCase ();

        //	synchronized (brokers)
        //	{
        if (brokers.get (key) != null)
            broker = (DbConnectionBroker) brokers.get (key);
        else
        {
            // The below statement sets up a Broker with a minimun pool size of 2 connections
            // and a maximum of 5.  The log file will be created in
            // D:\JavaWebServer1.1\DCB_Example.log and the pool connections will be
            // restarted once a day.
            try
            {
                broker = new DbConnectionBroker(driver, connString,
                        username, password, 2, 6, "db_pool.log", 1);
            }
            catch (IOException ioe)
            {
                throw new ConnectionException (ioe);
            }
            brokers.put (key, broker);
        }
        //	}

        dbconn = broker.getConnection ();
    }
    /**
       * Releases the records, closes the ResultSet and the Statement and nulls the schema
       *
       * @exception   ConnectionException
       * @exception   DataSetException
       */
    public void close() throws ConnectionException, DataSetException
    {
        try
        {
            this.stmt.close();

        }
        catch (SQLException sqle)
        {
            throw new ConnectionException (sqle);
        }
        catch (NullPointerException npe)
            {}
        finally { broker.freeConnection (dbconn);
            closed = true;
        } }
    /**
       * Gets the current database connection
       *
       * @return     a database connection
       * @exception   ConnectionException
       */
    protected Connection connection() throws ConnectionException
    {
        return dbconn;
    }
    /**
      * This method was created in VisualAge.
      */
    protected void finalize () throws Throwable
    {
        if (!closed)
            close ();
    }
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品国产一区二区三区香蕉 | 国产专区欧美精品| 成人精品国产免费网站| 777xxx欧美| 亚洲黄色av一区| 国产aⅴ综合色| 在线播放日韩导航| 亚洲品质自拍视频网站| 国产福利精品导航| 日韩一区二区精品| 天使萌一区二区三区免费观看| 波多野结衣一区二区三区| 精品国产伦一区二区三区观看体验 | 精品国产电影一区二区| 亚洲成人精品影院| 欧美在线免费观看亚洲| 亚洲人成小说网站色在线| 高清不卡在线观看| 欧美成人国产一区二区| 日韩国产欧美视频| 欧美色视频在线| 亚洲欧美日韩一区二区| 成人av电影观看| 国产精品家庭影院| 成人免费视频视频| 国产欧美精品在线观看| 国产一区二区视频在线播放| 日韩精品一区二区三区swag| 奇米一区二区三区av| 欧美日韩第一区日日骚| 天天操天天综合网| 在线观看91精品国产麻豆| 日日噜噜夜夜狠狠视频欧美人| 欧美午夜一区二区三区免费大片| 依依成人综合视频| 欧美少妇性性性| 亚洲aⅴ怡春院| 91精品国产品国语在线不卡| 日韩电影免费在线观看网站| 欧美一区二区三区色| 蜜臀av一区二区在线观看| 日韩欧美国产综合在线一区二区三区| 日韩成人免费在线| 精品成人一区二区三区四区| 国产激情精品久久久第一区二区| 国产亚洲欧美激情| 99精品热视频| 五月天久久比比资源色| 精品噜噜噜噜久久久久久久久试看| 国产在线播精品第三| 中文在线资源观看网站视频免费不卡| 99精品国产一区二区三区不卡| 亚洲天堂久久久久久久| 欧美蜜桃一区二区三区| 日本中文一区二区三区| 久久蜜桃av一区二区天堂 | 国产69精品久久777的优势| 综合婷婷亚洲小说| 欧美日韩免费不卡视频一区二区三区 | 91精品国产aⅴ一区二区| 国产精品自拍三区| 亚洲精选在线视频| 精品国产露脸精彩对白| 色婷婷综合久久| 狠狠色丁香九九婷婷综合五月| 综合在线观看色| 欧美本精品男人aⅴ天堂| 99久久婷婷国产精品综合| 日韩和欧美一区二区三区| 欧美韩国日本不卡| 欧美精品久久天天躁| 国产99久久久久| 手机精品视频在线观看| 中文字幕在线视频一区| 日韩精品最新网址| 色激情天天射综合网| 国产在线播放一区三区四| 亚洲国产日韩综合久久精品| 久久久激情视频| 91精品国产综合久久久蜜臀粉嫩| 91同城在线观看| 国产在线精品免费| 日韩精品亚洲专区| 亚洲三级免费电影| 国产亚洲精品久| 欧美精品vⅰdeose4hd| 91丝袜美腿高跟国产极品老师 | 91精品福利在线| 国产精品一区一区| 美腿丝袜亚洲综合| 亚洲成av人片在线观看| 中文字幕在线一区二区三区| 久久蜜桃一区二区| 日韩精品在线一区| 欧美人xxxx| 欧美色中文字幕| 一本高清dvd不卡在线观看| 国产寡妇亲子伦一区二区| 日韩精品国产欧美| 午夜久久福利影院| 亚洲图片欧美一区| 亚洲国产综合91精品麻豆| 亚洲视频电影在线| 亚洲欧洲国产日韩| 亚洲日本在线天堂| 成人欧美一区二区三区白人| 欧美国产视频在线| 欧美极品aⅴ影院| 久久久久成人黄色影片| 精品国产免费久久| 久久久久久久久伊人| 久久精品日产第一区二区三区高清版 | 欧美色网一区二区| 欧美午夜电影一区| 欧美日韩国产一级片| 精品视频免费在线| 欧美片在线播放| 日韩一区二区三区免费看 | 亚洲欧美综合色| 亚洲视频狠狠干| 有坂深雪av一区二区精品| 亚洲乱码国产乱码精品精98午夜 | 中文字幕人成不卡一区| 亚洲人成伊人成综合网小说| 一区二区三区日韩| 水蜜桃久久夜色精品一区的特点| 日韩黄色片在线观看| 极品少妇xxxx偷拍精品少妇| 国产成人精品三级麻豆| 成人白浆超碰人人人人| 欧美午夜精品久久久| 国产午夜精品久久| 综合精品久久久| 一卡二卡三卡日韩欧美| 日韩电影免费在线| 岛国av在线一区| 色8久久精品久久久久久蜜| 欧美福利视频一区| 精品处破学生在线二十三| 国产片一区二区三区| 一区二区三区四区不卡视频| 蜜臀av性久久久久蜜臀aⅴ四虎 | 欧美一级一区二区| 国产午夜精品福利| 午夜在线成人av| 国产一区二区三区在线观看免费视频 | 91麻豆产精品久久久久久| 欧美日本韩国一区二区三区视频| 日韩精品一区二区三区三区免费| 国产精品久久久一本精品| 视频一区在线视频| 成人深夜在线观看| 538prom精品视频线放| 久久久国产精品午夜一区ai换脸| 亚洲欧美日韩在线| 国产中文一区二区三区| 日本电影欧美片| 国产亚洲欧美一区在线观看| 亚洲成人自拍一区| 白白色亚洲国产精品| 精品少妇一区二区三区免费观看| 亚洲色图欧洲色图婷婷| 精品影视av免费| 在线视频国内自拍亚洲视频| 久久久亚洲高清| 亚洲一区二区三区自拍| 成人一区二区三区在线观看| 91麻豆精品国产91久久久资源速度 | 欧美一区二区三区在线观看视频| 中文字幕不卡在线观看| 免费观看30秒视频久久| 欧美一a一片一级一片| 国产亚洲美州欧州综合国| 日韩va欧美va亚洲va久久| 色婷婷久久久亚洲一区二区三区| www久久精品| 青青草国产成人av片免费| 日本道色综合久久| 日韩一区日韩二区| 成人性生交大合| 久久日一线二线三线suv| 麻豆精品视频在线观看免费| 欧美猛男男办公室激情| 亚洲最大成人综合| eeuss鲁一区二区三区| 欧美国产视频在线| 丁香婷婷深情五月亚洲| 久久精品男人天堂av| 国产在线视频一区二区| 日韩欧美自拍偷拍| 蜜臀av性久久久久av蜜臀妖精| 4438x成人网最大色成网站| 亚洲一区二区三区四区在线| 色妹子一区二区| 一区二区三区免费看视频| 一本在线高清不卡dvd| 亚洲激情网站免费观看| 在线观看三级视频欧美| 亚洲国产裸拍裸体视频在线观看乱了 | 亚洲成人av电影|