農農  
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页

2019年12月14日

摘要: 1 创建entity实体类 public class Student { private Integer stuid; private String stuname; public Integer getStuid() { return stuid; } public void setStuid(I 阅读全文
posted @ 2019-12-14 11:06 Baekhyunne 阅读(246) 评论(0) 推荐(0) 编辑
 
摘要: 1 创建实体类 public class Student { private Integer stuid; private String stuname; public Integer getStuid() { return stuid; } public void setStuid(Integer 阅读全文
posted @ 2019-12-14 09:45 Baekhyunne 阅读(326) 评论(0) 推荐(0) 编辑

2019年12月12日

摘要: 1 创建entity实体类并生成数据库表 @Entity @Table(name="student") public class Student { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Integer stuid; 阅读全文
posted @ 2019-12-12 15:43 Baekhyunne 阅读(550) 评论(0) 推荐(0) 编辑
 
摘要: 1 编写application.yml文件 spring: mvc: view: suffix: .jsp prefix: /jsp/ 2 创建Controller层 @Controller @RequestMapping("/jspfirst") public class JSPRequestCo 阅读全文
posted @ 2019-12-12 15:33 Baekhyunne 阅读(438) 评论(0) 推荐(0) 编辑
 
摘要: 1 编写application.properties文件 spring.thymeleaf.prefix=classpath:/templates/ spring.thymeleaf.suffix=.html spring.thymeleaf.mode=HTML5 spring.thymeleaf. 阅读全文
posted @ 2019-12-12 14:50 Baekhyunne 阅读(267) 评论(0) 推荐(0) 编辑

2019年12月10日

摘要: 一、SpringBoot入门 1. SpringBoot简介 Spring Boot是由Pivotal团队提供的全新框架,其设计目的是用来简化新Spring应用的初始搭建以及开发过程。该框架使用了特定的方式来进行配置,从而使开发人员不再需要定义样板化的配置。 2. SpringBoot特性 2.1 阅读全文
posted @ 2019-12-10 15:09 Baekhyunne 阅读(595) 评论(1) 推荐(0) 编辑

2019年12月9日

摘要: 一、向本地仓库导入Dubbox依赖 1.1解压压缩包 1.2打开cmd窗口切到源码包路径 1.3输入命令行 1.4成功后展示如图 1.5输入命令行 1.6成功后如图 public class DoSomeServiceImpl implements DoSomeService { @Override 阅读全文
posted @ 2019-12-09 17:09 Baekhyunne 阅读(209) 评论(0) 推荐(0) 编辑

2019年12月6日

摘要: 一对多 1、application.properties 2、Dao层 3.Controller 3.1级联添加数据 3.2查询数据 3.3删除数据 多对多 1.查询 2.添加 阅读全文
posted @ 2019-12-06 16:50 Baekhyunne 阅读(126) 评论(0) 推荐(0) 编辑

2019年12月2日

摘要: 登陆案例 一、创建Service项目存放共同数据 1.1 创建实体类 private long id; private String loginName; private String userName; private String password; private long userpayme 阅读全文
posted @ 2019-12-02 15:13 Baekhyunne 阅读(279) 评论(0) 推荐(0) 编辑

2019年11月30日

摘要: 一、导入依赖 <dependency> <groupId>javaee</groupId> <artifactId>javaee-api</artifactId> <version>5</version> </dependency> <dependency> <groupId>junit</grou 阅读全文
posted @ 2019-11-30 14:14 Baekhyunne 阅读(527) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页