This post originated from an RSS feed registered with Java Buzz
by Marc Logemann.
Original Post: Configuring Kodo inside Spring Part2
Feed Title: Marc's Java Blog
Feed URL: http://www.logemann.org/day/index_java.xml
Feed Description: Java related topics for all major areas. So you will see J2ME, J2SE and J2EE issues here.
This is a follow up to my previous blog. If you need control of the ConnectionPool provided by com.solarmetric.jdbc.PoolingDataSource, you just can create your own Pool and supply it to the PoolingDataSource like this:
You see, we use setter and constructor injection for providing the needed properties. The connectionPool can only be applied in the constructor in the Kodo DataSource.