File tree Expand file tree Collapse 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 Expand file tree Collapse file tree 3 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 1515 */
1616package org .springframework .data .envers .repository .config ;
1717
18+ import jakarta .persistence .EntityManagerFactory ;
19+
1820import java .lang .annotation .Documented ;
1921import java .lang .annotation .ElementType ;
20- import java .lang .annotation .Inherited ;
2122import java .lang .annotation .Retention ;
2223import java .lang .annotation .RetentionPolicy ;
2324import java .lang .annotation .Target ;
2425
25- import jakarta .persistence .EntityManagerFactory ;
26-
2726import org .springframework .beans .factory .FactoryBean ;
2827import org .springframework .context .annotation .ComponentScan .Filter ;
2928import org .springframework .context .annotation .Lazy ;
4544 * {@link #repositoryFactoryBeanClass} to {@link EnversRevisionRepositoryFactoryBean}.
4645 *
4746 * @author Mark Paluch
47+ * @author Greg Turnquist
4848 * @since 2.5
4949 * @see EnableJpaRepositories
5050 * @see AliasFor
5151 */
5252@ Target (ElementType .TYPE )
5353@ Retention (RetentionPolicy .RUNTIME )
5454@ Documented
55- @ Inherited
5655@ EnableJpaRepositories
5756public @interface EnableEnversRepositories {
5857
Original file line number Diff line number Diff line change 1717
1818import java .lang .annotation .Documented ;
1919import java .lang .annotation .ElementType ;
20- import java .lang .annotation .Inherited ;
2120import java .lang .annotation .Retention ;
2221import java .lang .annotation .RetentionPolicy ;
2322import java .lang .annotation .Target ;
3130 *
3231 * @author Thomas Darimont
3332 * @author Oliver Gierke
33+ * @author Greg Turnquist
3434 */
35- @ Inherited
3635@ Documented
3736@ Target (ElementType .TYPE )
3837@ Retention (RetentionPolicy .RUNTIME )
6160 boolean modifyOnCreate () default true ;
6261
6362 /**
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.
6665 *
6766 * @return
6867 */
Original file line number Diff line number Diff line change 1515 */
1616package org .springframework .data .jpa .repository .config ;
1717
18+ import jakarta .persistence .EntityManagerFactory ;
19+
1820import java .lang .annotation .Documented ;
1921import java .lang .annotation .ElementType ;
20- import java .lang .annotation .Inherited ;
2122import java .lang .annotation .Retention ;
2223import java .lang .annotation .RetentionPolicy ;
2324import java .lang .annotation .Target ;
2425
25- import jakarta .persistence .EntityManagerFactory ;
26-
2726import org .springframework .beans .factory .FactoryBean ;
2827import org .springframework .context .annotation .ComponentScan .Filter ;
2928import org .springframework .context .annotation .Import ;
4140 *
4241 * @author Oliver Gierke
4342 * @author Thomas Darimont
43+ * @author Greg Turnquist
4444 */
4545@ Target (ElementType .TYPE )
4646@ Retention (RetentionPolicy .RUNTIME )
4747@ Documented
48- @ Inherited
4948@ Import (JpaRepositoriesRegistrar .class )
5049public @interface EnableJpaRepositories {
5150
You can’t perform that action at this time.
0 commit comments