Closed as not planned
Closed as not planned
Description
I have a configuration class that specifies a custom repo implementation:
@Configuration
@EnableJpaRepositories(
basePackages = "xxx",
entityManagerFactoryRef = "xxx",
repositoryBaseClass = CustomRepositoryImpl.class,
transactionManagerRef = "xxx")
This forces a constructor signature of:
public CustomRepositoryImpl(
JpaEntityInformation<T, ID> entityInformation, EntityManager entityManager)
And does not support @Autowired or any method I could find to pass in beans.
Can this be modified to instantiate the class via IOC to support pulling in beans?