001package org.kuali.ole.db.sql; 002 003import org.kuali.common.jdbc.JdbcProjectContext; 004import org.kuali.common.util.ProjectContext; 005import org.kuali.common.util.spring.SpringUtils; 006import org.springframework.context.annotation.Bean; 007import org.springframework.context.annotation.Configuration; 008import org.springframework.core.env.PropertySource; 009 010@Configuration 011public class OleRiceDbSqlPropertySourceConfig { 012 013 @Bean 014 public PropertySource<?> springPropertySource() { 015 ProjectContext project = new OleRiceDbProjectContext(); 016 ProjectContext other = new JdbcProjectContext(); 017 return SpringUtils.getGlobalPropertySource(project, other); 018 } 019 020}