Hello everybody,
I'm trying to understand how I must configurate my application for using a CrudRepository<T,Long>, QuerydslPredicateExecutor<T> Interface to create a Bean and the implementation class on the run time.
I'm using Java 10 with Spring JPA, Hibernate, Spring MVC and an Oracle 11G XE Database. I had no problems when I was mapping actual tables. It was very easy, but I wanted to use QueryDSL mapped on a view instead of a table. I've seen many example on the web where the writers simply just create the CrudRepository<T,Long>, QuerydslPredicateExecutor<T> interface and inject it in an object with the @Autowired annotation. Those examples are working very well, but the configuration is totally different from my application's configuration. I want to do the same, but for a reason I do not understand, I'm getting only errors on the run time saying they can't find the qualified Bean name for my private attribute of type that is implementing CrudRepository<T,Long>, QuerydslPredicateExecutor<T>;
Thank you !