net.stepniak.api.config.dataSource
Class DataSourceConfig

java.lang.Object
  extended by org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
      extended by net.stepniak.api.config.dataSource.DataSourceConfig
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration
@EnableTransactionManagement
@EnableJpaRepositories(value="net.stepniak.api")
public abstract class DataSourceConfig
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter


Constructor Summary
DataSourceConfig()
           
 
Method Summary
 org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean entityManagerFactory()
           
 org.springframework.orm.jpa.JpaTransactionManager transactionManager()
           
 
Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
addArgumentResolvers, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, getMessageCodesResolver, getValidator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceConfig

public DataSourceConfig()
Method Detail

entityManagerFactory

@Bean
public org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean entityManagerFactory()
                                                                                        throws URISyntaxException
Throws:
URISyntaxException

transactionManager

@Bean
public org.springframework.orm.jpa.JpaTransactionManager transactionManager()
                                                                     throws URISyntaxException
Throws:
URISyntaxException


Copyright © 2013. All Rights Reserved.