ApplicationContext.xml to configuration database