标签: xml spring hibernate spring-boot spring-data
我需要使用数据库或xml文件来存储数据。我怎么能用Spring做到这一点? 应用程序读取属性文件并选择使用哪个数据存储。