Tomcat JDBC Pool plugin
Dependency :
compile ":jdbc-pool:7.0.37"
Summary
Replaces the default Grails Commons DBCP Pool with Tomcat JDBC Pool
Description
Replaces the default Grails Commons DBCP Pool with Tomcat JDBC Pool. Versions 7.0.37 and above require Grails version 2.0 or higher; to use the plugin in Grails 1.3 use version 1.0.9.3. Version 1.0.9.3 has support for the datasources plugin, whereas versions 7.0.37 work with the multiple-datasources support in Grails 2.0.There are only a couple of lines of code in the plugin. The plugin just replaces the bean's class name with "org.apache.tomcat.jdbc.pool.DataSource" for beans having the class "org.apache.commons.dbcp.BasicDataSource" (this is done in doWithSpring which is called before the Spring context is running). Tomcat JDBC Pool is properties-compatible with Commons DBCP.Information about Tomcat JDBC Pool:
- Documentation
- Blog articles written by the author of the Tomcat JDBC Pool
- Blog article about Tomcat JDBC Pool
- Mailing list is the tomcat development mailing list.
- SpringSource tcServer: Configuring the High Concurrency JDBC Connection Pool
- SpringSource tcServer: ui-Tomcat.ServerJDBCReference
Plugin History
- 03/23/2013 7.0.37 - Changes:
- Upgraded JDBC commons pool lib to latest version 7.0.37
- Changed plugin version to match that of lib
- 02/2012 1.0.9.3 - Changes: (contribution by Donal Murtagh)
- Upgraded JDBC commons pool lib to latest version 1.0.9.3
- Changed plugin version to match that of lib
- Upgraded to Grails 2.0.1