Browse files

DATAJPA-69 - @EnableJpaRepositories is now inherited into sub-classes.

  • Loading branch information...
1 parent e59b8b3 commit 32dbd52c578cf21d92faa619f30f503c40cf051f @olivergierke olivergierke committed Aug 13, 2012
View
2 src/main/java/org/springframework/data/jpa/repository/config/EnableJpaRepositories.java
@@ -17,6 +17,7 @@
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@@ -40,6 +41,7 @@
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
+@Inherited
@Import(JpaRepositoriesRegistrar.class)
public @interface EnableJpaRepositories {

0 comments on commit 32dbd52

Please sign in to comment.