Commit 7157d41c authored by Andreas Gärtner's avatar Andreas Gärtner

Added configuration tag in order to activate jpa repositories.

parent edd10280
......@@ -6,6 +6,7 @@ import java.util.Properties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
import org.springframework.core.env.Environment;
......@@ -25,6 +26,7 @@ import de.thm.arsnova.connector.dao.UniRepDao;
"de.thm.arsnova.connector.dao",
"de.thm.arsnova.connector.services"
})
@Configuration
@EnableJpaRepositories("de.thm.arsnova.connector.persistence.repository")
@PropertySource("file:///etc/arsnova/connector.properties")
public class AppConfig {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment