How to configure CommonsPool2TargetSource in spring?
问题 This become pain in my neck!!! I have three queries. 1)I want to configure CommonsPool2TargetSource in my project for pooling of my custom POJO class. What I have done so far : MySpringBeanConfig class : @Configuration @EnableWebMvc @ComponentScan(basePackages = {"com.redirect.controller","com.redirect.business","com.redirect.dao.impl","com.redirect.model"}) @EnableTransactionManagement @PropertySource("classpath:" + JioTUConstant.SYSTEM_PROPERTY_FILE_NAME + ".properties") @Import(