java Spring属性PlaceHolderConfigure从数据库加载
是否可以使用自定义Spring PropertyPlaceHolderConfigure从DB加载属性? 提供给定制PropertyPlaceHolderConfigure的数据源是否也可能在类路径中使用特定的属性文件
我无法从以下链接中找到满意的答案
http://www.mkyong.com/spring/spring-propertyplaceholderconfigurer-example/ http://www.codeproject.com/Articles/28893/Loading-Application-Properties-from-a-Database PropertyPlaceholderConfigurer to look for DB values and use properties file as fallback
# 1 楼答案
Spring上下文XML
Java占位符类
特别感谢以下几页的作者
http://ykchee.blogspot.com.tr/2012/09/spring-31-loading-properties-for-xml.html
http://blog.javaforge.net/post/31720600427/configuring-spring-based-web-application-from-database
http://www.javacodegeeks.com/2012/11/spring-3-1-loading-properties-for-xml-configuration-from-database.html