File tree 3 files changed +9
-12
lines changed
spring-data-envers/src/main/java/org/springframework/data/envers/repository/config
spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/config
3 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .springframework .data .envers .repository .config ;
17
17
18
+ import jakarta .persistence .EntityManagerFactory ;
19
+
18
20
import java .lang .annotation .Documented ;
19
21
import java .lang .annotation .ElementType ;
20
- import java .lang .annotation .Inherited ;
21
22
import java .lang .annotation .Retention ;
22
23
import java .lang .annotation .RetentionPolicy ;
23
24
import java .lang .annotation .Target ;
24
25
25
- import jakarta .persistence .EntityManagerFactory ;
26
-
27
26
import org .springframework .beans .factory .FactoryBean ;
28
27
import org .springframework .context .annotation .ComponentScan .Filter ;
29
28
import org .springframework .context .annotation .Lazy ;
45
44
* {@link #repositoryFactoryBeanClass} to {@link EnversRevisionRepositoryFactoryBean}.
46
45
*
47
46
* @author Mark Paluch
47
+ * @author Greg Turnquist
48
48
* @since 2.5
49
49
* @see EnableJpaRepositories
50
50
* @see AliasFor
51
51
*/
52
52
@ Target (ElementType .TYPE )
53
53
@ Retention (RetentionPolicy .RUNTIME )
54
54
@ Documented
55
- @ Inherited
56
55
@ EnableJpaRepositories
57
56
public @interface EnableEnversRepositories {
58
57
Original file line number Diff line number Diff line change 17
17
18
18
import java .lang .annotation .Documented ;
19
19
import java .lang .annotation .ElementType ;
20
- import java .lang .annotation .Inherited ;
21
20
import java .lang .annotation .Retention ;
22
21
import java .lang .annotation .RetentionPolicy ;
23
22
import java .lang .annotation .Target ;
31
30
*
32
31
* @author Thomas Darimont
33
32
* @author Oliver Gierke
33
+ * @author Greg Turnquist
34
34
*/
35
- @ Inherited
36
35
@ Documented
37
36
@ Target (ElementType .TYPE )
38
37
@ Retention (RetentionPolicy .RUNTIME )
61
60
boolean modifyOnCreate () default true ;
62
61
63
62
/**
64
- * Configures a {@link DateTimeProvider} bean name that allows customizing the {@link java.time.temporal.TemporalAccessor} to be
65
- * used for setting creation and modification dates.
63
+ * Configures a {@link DateTimeProvider} bean name that allows customizing the
64
+ * {@link java.time.temporal.TemporalAccessor} to be used for setting creation and modification dates.
66
65
*
67
66
* @return
68
67
*/
Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .springframework .data .jpa .repository .config ;
17
17
18
+ import jakarta .persistence .EntityManagerFactory ;
19
+
18
20
import java .lang .annotation .Documented ;
19
21
import java .lang .annotation .ElementType ;
20
- import java .lang .annotation .Inherited ;
21
22
import java .lang .annotation .Retention ;
22
23
import java .lang .annotation .RetentionPolicy ;
23
24
import java .lang .annotation .Target ;
24
25
25
- import jakarta .persistence .EntityManagerFactory ;
26
-
27
26
import org .springframework .beans .factory .FactoryBean ;
28
27
import org .springframework .context .annotation .ComponentScan .Filter ;
29
28
import org .springframework .context .annotation .Import ;
41
40
*
42
41
* @author Oliver Gierke
43
42
* @author Thomas Darimont
43
+ * @author Greg Turnquist
44
44
*/
45
45
@ Target (ElementType .TYPE )
46
46
@ Retention (RetentionPolicy .RUNTIME )
47
47
@ Documented
48
- @ Inherited
49
48
@ Import (JpaRepositoriesRegistrar .class )
50
49
public @interface EnableJpaRepositories {
51
50
You can’t perform that action at this time.
0 commit comments