Spring PropertyResourceConfigurer support for Bonecp DataSource

Sunday, July 6, 2014

I need to set the BoneCp driverProperties using Spring PropertyResourceConfigurer (setDriverProperties(Properties driverProperties). setDriverProperties accepts java.util.Properties where I could pass the list of properties as key/values. Currently I am loading the DS using the applicationContext.xml with the help of PropertyPlaceholderConfigurer


But I am not sure how I can pass the list of custom properties using applicationContext.xml where BoneCPDataSource property name would be driverProperties which would be accepting java.util.Properties.


Thanks In Advance, Balu Nair







http://ift.tt/1xEtTWo