File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
roach-data-jdbc/src/main/java/io/roach/data/jdbc Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 1414import org .slf4j .LoggerFactory ;
1515import org .springframework .boot .CommandLineRunner ;
1616import org .springframework .boot .WebApplicationType ;
17- import org .springframework .boot .autoconfigure .EnableAutoConfiguration ;
17+ import org .springframework .boot .autoconfigure .SpringBootApplication ;
1818import org .springframework .boot .builder .SpringApplicationBuilder ;
19- import org .springframework .context .annotation .ComponentScan ;
20- import org .springframework .context .annotation .Configuration ;
2119import org .springframework .context .annotation .EnableAspectJAutoProxy ;
2220import org .springframework .core .Ordered ;
2321import org .springframework .data .jdbc .repository .config .EnableJdbcRepositories ;
24- import org .springframework .data .web .config .EnableSpringDataWebSupport ;
2522import org .springframework .hateoas .Link ;
2623import org .springframework .hateoas .config .EnableHypermediaSupport ;
2724import org .springframework .http .HttpEntity ;
3330/**
3431 * Spring boot server application using spring-data-jdbc for data access.
3532 */
36- @ EnableAutoConfiguration
3733@ EnableHypermediaSupport (type = EnableHypermediaSupport .HypermediaType .HAL )
3834@ EnableJdbcRepositories
3935@ EnableAspectJAutoProxy (proxyTargetClass = true )
40- @ EnableSpringDataWebSupport
4136@ EnableTransactionManagement (order = Ordered .LOWEST_PRECEDENCE - 1 ) // Bump up one level to enable extra advisors
42- @ Configuration
43- @ ComponentScan
37+ @ SpringBootApplication
4438public class JdbcApplication implements CommandLineRunner {
4539 protected static final Logger logger = LoggerFactory .getLogger (JdbcApplication .class );
4640
You can’t perform that action at this time.
0 commit comments