<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    itVincent Blog - Java Working Fun!

    技術(shù)引領(lǐng)時代!
    posts - 117, comments - 181, trackbacks - 0, articles - 12
    BoneCP 是一個開源的快速的 JDBC 連接池

    有以下特性:
    Highly scalable, fast connection pool
    Callback (hook interceptor) mechanisms on a change of connection state.
    Partitioning capability to increase performance
    Allows direct access to a connection
    Automatic resizing of pool
    Statement caching support
    Support for obtaining a connection asynchronously (by returning a Future<Connection>)
    Release helper threads to release a connection in an asynchronous fashion for higher performance.
    Easy mechanism to execute a custom statement on each newly obtained connection (initSQL).
    Support to switch to a new database at runtime without shutting down an application
    Ability to replay any failed transaction automatically (for the case where database/network goes down etc)
    JMX support
    Lazy initialization capable
    Automatic validation of connections (keep-alives etc)
    Allow obtaining of new connections via a datasource rather than via a Driver
    Datasource/Hibernate support capable
    Debugging hooks to highlight the exact place where a connection was obtained but not closed
    Debugging support to show stack locations of connections that were closed twice.
    Custom pool name support.
    100% unit test code coverage (over 100 JUnit tests).
    Free, open source and written in 100% pure Java with very extensive and complete Javadocs

    =============================================================

    在maven導(dǎo)入jar:
    <dependency>
        <groupId>com.jolbox</groupId>
        <artifactId>bonecp</artifactId>
        <version>0.6.5-rc2</version>
       </dependency>

    此包沒有在官方網(wǎng)站上發(fā)布,因此在再加入
    <repository>
       <releases>
        <enabled>true</enabled>
       </releases>
       <id>bonecp-repo</id>
       <name>BoneCP Repository</name>
       <url>http://jolbox.com/bonecp/downloads/maven</url>
      </repository>

    =================================================================

    在spring配置數(shù)據(jù)源:
    <bean id="dataSource" class="com.jolbox.bonecp.BoneCPDataSource" destroy-method="close">
        <property name="driverClass" value="${jdbc.driverClassName}" />
        <property name="jdbcUrl" value="${jdbc.url}" />
        <property name="username" value="${jdbc.username}"/>
        <property name="password" value="${jdbc.password}"/>
     </bean>


    只有注冊用戶登錄后才能發(fā)表評論。


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 亚洲人成网站在线播放影院在线 | 中文永久免费观看网站| 国产在线19禁免费观看国产| 亚洲日韩精品国产一区二区三区| 香蕉97超级碰碰碰免费公| 亚洲一级毛片免观看| 成年女人午夜毛片免费看| 国产大陆亚洲精品国产| 青青青国产色视频在线观看国产亚洲欧洲国产综合| 亚洲熟妇AV一区二区三区宅男| 国产精品嫩草影院免费| 一本久久免费视频| 国产AV无码专区亚洲Av| 久久久精品免费视频| 亚洲一区二区三区夜色| 四虎永久在线观看免费网站网址| 精品国产日韩久久亚洲| 亚洲精品成人网久久久久久| 国内精品免费视频精选在线观看| 亚洲国产美国国产综合一区二区| 嘿嘿嘿视频免费网站在线观看| 亚洲成A人片在线播放器| 国产免费拔擦拔擦8x| 中文字幕av免费专区| 亚洲精品视频在线播放| 日韩免费高清一级毛片在线| 一级做a爱过程免费视频高清| 亚洲国产精品久久久久| 成年性午夜免费视频网站不卡| 好猛好深好爽好硬免费视频| 亚洲福利视频网址| 国产大片免费观看中文字幕| a级片在线免费看| 亚洲精品自偷自拍无码| 国产AV无码专区亚洲A∨毛片| 成人无遮挡裸免费视频在线观看| 一级a性色生活片久久无少妇一级婬片免费放| 亚洲国产成人高清在线观看| 无码高潮少妇毛多水多水免费| 国产福利免费视频| 男人天堂2018亚洲男人天堂|