File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/org/geekbang/time/commonmistakes/transaction/nested Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 3
3
import org .springframework .beans .factory .annotation .Autowired ;
4
4
import org .springframework .boot .SpringApplication ;
5
5
import org .springframework .boot .autoconfigure .SpringBootApplication ;
6
+ import org .springframework .boot .autoconfigure .data .jpa .JpaRepositoriesAutoConfiguration ;
6
7
import org .springframework .boot .autoconfigure .orm .jpa .HibernateJpaAutoConfiguration ;
7
8
import org .springframework .jdbc .core .JdbcTemplate ;
8
9
9
10
import javax .annotation .PostConstruct ;
10
11
11
12
12
- @ SpringBootApplication (exclude = HibernateJpaAutoConfiguration .class )
13
+ @ SpringBootApplication (exclude = { HibernateJpaAutoConfiguration .class , JpaRepositoriesAutoConfiguration . class } )
13
14
public class CommonMistakesApplication {
14
15
15
16
@ Autowired
You can’t perform that action at this time.
0 commit comments