org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean Java Examples

The following examples show how to use org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JPAPersistenceSupportBeanFactory.java    From statefulj with Apache License 2.0 4 votes vote down vote up
@Override
public Class<?> getKey() {
	return JpaRepositoryFactoryBean.class;
}
 
Example #2
Source File: Application.java    From blog-examples with Apache License 2.0 4 votes vote down vote up
@Bean(autowire = Autowire.BY_TYPE)
public JpaRepositoryFactoryBean<UserRepository, User, Long> jpaRepositoryFactoryBean() {
	JpaRepositoryFactoryBean factory = new JooqRepositoryBean<UserRepository, User, Long>();
	factory.setRepositoryInterface(UserRepository.class);
	return factory;
}