摘要: @GetMapping("/user/{id}")public User getUser(@PathVariable("id") Integer id) { User user = new User(); user.setId(id); Example<User> example = Example 阅读全文
posted @ 2020-01-08 13:49 wf.zhang 阅读(3034) 评论(0) 推荐(0) 编辑
摘要: 这里使用的springboot2.2.2版本 没有报错发生也没有生成表 是yml的问题 下面有正确的yml 不需要 在启动类加 @SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, HibernateJpaAutoC 阅读全文
posted @ 2020-01-08 12:57 wf.zhang 阅读(3548) 评论(0) 推荐(1) 编辑