Combined with the spring jdbc, mybatis of

The key point is that the DataSource (source data) to a spring disposed in the container, access to the database through a data source connection object

Database connection pool (pool): Management database connection object

 

Four data sources:

1) <! - based on the specification data source jdk ->

 2) <-! Dbcp Data Source ->

3) <-! Spring provided in the data sources ->

4) c3p0 data source

Guess you like

Origin www.cnblogs.com/wskb/p/10939443.html