Org. Apache. commons. DBCP. basicdatasource

Source: Internet
Author: User

1. The data source inherits from Java. SQL. datasource and belongs to the data source in the DBCP connection pool.

2. DBCP is used to cultivate the connection pool.

Required package: commons-pool (: http://jakarta.apache.org/commons/pool)

Provides a connection to a general object pool and includes the toolbox for implementing a general pool.

Commons-DBCP (: http://jakarta.apache.org/commons/dbcp)

The database connection pool service is provided. DBCP is smart to encapsulate the common-pool and JDBC driver to achieve the connection pool goal.

3. If you integrate SSH with your spring version 1. *, you do not need to use these two files. If you use spring2. *, You need to load these two files. Otherwise, SSH integration will not succeed.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.