<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!

    技術引領時代!
    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導入jar:
    <dependency>
        <groupId>com.jolbox</groupId>
        <artifactId>bonecp</artifactId>
        <version>0.6.5-rc2</version>
       </dependency>

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

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

    在spring配置數據源:
    <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>


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


    網站導航:
     
    主站蜘蛛池模板: 区三区激情福利综合中文字幕在线一区亚洲视频1 | 亚洲黑人嫩小videos| 免费观看的毛片大全| 深夜福利在线免费观看| 亚洲国产精品久久| 欧洲美熟女乱又伦免费视频| xxxxx做受大片视频免费| 亚洲综合激情九月婷婷| 又黄又爽无遮挡免费视频| 久久99热精品免费观看动漫 | 99爱在线精品视频免费观看9| 亚洲AV无码一区二区三区久久精品| 亚洲中久无码永久在线观看同| 国产成人yy免费视频| 国产精品小视频免费无限app| 亚洲中文字幕在线无码一区二区| 久久久久亚洲AV成人网| 成熟女人牲交片免费观看视频| 99re6在线精品免费观看| 亚洲av无码一区二区三区人妖| 久久精品国产亚洲AV麻豆网站| 亚洲欧洲日产国码高潮αv| 青青草a免费线观a| 精品视频一区二区三区免费| 亚洲国产精品网站在线播放 | 亚洲黄色在线观看视频| 中文字幕第一页亚洲| 国产精品嫩草影院免费| 国拍在线精品视频免费观看| baoyu777永久免费视频| 特黄aa级毛片免费视频播放| 亚洲乱码中文字幕小综合| 亚洲AV日韩精品久久久久| 亚洲一级特黄无码片| 日韩中文字幕免费| 毛片免费观看的视频在线| 亚洲香蕉免费有线视频| 精品视频在线免费观看| 拍拍拍无挡视频免费观看1000| a级毛片免费网站| 老司机午夜在线视频免费|