-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Works as Designed
-
Affects Version/s: 1.1 M1
-
Fix Version/s: None
-
Component/s: Core
-
Labels:None
When activating jpa:repositories in the context the @Repository annotated objects get somehow proxied and spring is unable to autowire them.
Please have a look at the demo project attached. There you will find a failing test.
If you change the @Repository annotation of the SelectModule class into @Component the testcase is working. It is also working if you remove jpa:repositores from the text-context.xml.
- relates to
-
DATAJPA-330 @EnableJpaRepositories activates exception translation for @Repository classes not in basePackages
-
- Resolved
-
-
DATACMNS-318 Introduce dedicated annotation to enable exception translation
-
- Closed
-