上一页 1 ··· 101 102 103 104 105 106 107 108 109 ··· 337 下一页
摘要: Spring中 context:property-placeholder 元素 <bean id="propertyPlaceholderConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderCo 阅读全文
posted @ 2021-12-24 13:04 emanlee 阅读(343) 评论(0) 推荐(0)
摘要: 下面是 3 个实体类,它们分别是 Office、Car 和 Boss。 public class Office { private String officeNo =”001”; //省略 get/setter @Override public String toString() { return 阅读全文
posted @ 2021-12-23 17:12 emanlee 阅读(842) 评论(0) 推荐(0)
摘要: 以篮球队和篮球运动员为例,一个篮球队关联着多个篮球队员。 创建球队的表,里面有两个字段:id:主键name:球队名称 CREATE TABLE `t_team` ( `id` INT NOT NULL AUTO_INCREMENT, `name` VARCHAR(45) NULL, PRIMARY 阅读全文
posted @ 2021-12-23 11:03 emanlee 阅读(213) 评论(0) 推荐(0)
摘要: 一对一关系:在操作上,任意一方引入对方的主键作为外键。 例如 person 和 IDcard,一个人只有一个身份证号,而一个身份证号只对应一个人。 Person 表 IDcard 表 //Person 持久化类 public class Person { private Integer id; pr 阅读全文
posted @ 2021-12-23 10:21 emanlee 阅读(111) 评论(0) 推荐(0)
摘要: MyBatis中settings属性配置详解 在 MyBatis 中 settings 是最复杂的配置,它能深刻影响 MyBatis 底层的运行,但是在大部分情况下使用默认值便可以运行,所以在大部分情况下不需要大量配置它,只需要修改一些常用的规则即可,比如自动映射、驼峰命名映射、级联规则、是否启动缓 阅读全文
posted @ 2021-12-22 20:22 emanlee 阅读(1074) 评论(0) 推荐(0)
摘要: 2.1.1 Installation If you are using Maven just add the following dependency to your pom.xml: <dependency> <groupId>org.mybatis</groupId> <artifactId>m 阅读全文
posted @ 2021-12-22 15:30 emanlee 阅读(52) 评论(0) 推荐(0)
摘要: 最终解决方法如下: 修改配置 settings.xml 添加镜像 <mirror> <id>alimaven</id> <mirrorOf>*</mirrorOf> <url>https://maven.aliyun.com/repository/central</url></mirror> IDE 阅读全文
posted @ 2021-12-21 19:45 emanlee 阅读(4538) 评论(0) 推荐(0)
摘要: (1)、IDEA中的Project可以被理解成当前工作空间,而每一个Module就是这个工作空间里的工作项目 (2)、一个Project中可以定义多个Module,Project与各个Module之间属于父子关系,各个Module之间则属于兄弟关系 IntelliJ系中的 Project 相当于Ec 阅读全文
posted @ 2021-12-21 19:21 emanlee 阅读(1714) 评论(0) 推荐(0)
摘要: Oracle 11g 48核 32核 windows 2008 r2 64 oracle 11g版本,11.2.0.4可以支持超过36个CPU。 减少CPU数量: 阅读全文
posted @ 2021-12-17 20:41 emanlee 阅读(535) 评论(0) 推荐(0)
摘要: REF https://www.zhihu.com/question/51745620 import matplotlib.pyplot as plt fig = plt.figure(1) ax1 = fig.add_subplot(211) ax2 = fig.add_subplot(212) 阅读全文
posted @ 2021-12-17 15:54 emanlee 阅读(726) 评论(0) 推荐(0)
上一页 1 ··· 101 102 103 104 105 106 107 108 109 ··· 337 下一页