上一页 1 ··· 111 112 113 114 115 116 117 118 119 ··· 347 下一页
摘要: 以篮球队和篮球运动员为例,一个篮球队关联着多个篮球队员。 创建球队的表,里面有两个字段:id:主键name:球队名称 CREATE TABLE `t_team` ( `id` INT NOT NULL AUTO_INCREMENT, `name` VARCHAR(45) NULL, PRIMARY 阅读全文
posted @ 2021-12-23 11:03 emanlee 阅读(236) 评论(0) 推荐(0)
摘要: 一对一关系:在操作上,任意一方引入对方的主键作为外键。 例如 person 和 IDcard,一个人只有一个身份证号,而一个身份证号只对应一个人。 Person 表 IDcard 表 //Person 持久化类 public class Person { private Integer id; pr 阅读全文
posted @ 2021-12-23 10:21 emanlee 阅读(138) 评论(0) 推荐(0)
摘要: MyBatis中settings属性配置详解 在 MyBatis 中 settings 是最复杂的配置,它能深刻影响 MyBatis 底层的运行,但是在大部分情况下使用默认值便可以运行,所以在大部分情况下不需要大量配置它,只需要修改一些常用的规则即可,比如自动映射、驼峰命名映射、级联规则、是否启动缓 阅读全文
posted @ 2021-12-22 20:22 emanlee 阅读(1105) 评论(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 阅读(84) 评论(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 阅读(4615) 评论(0) 推荐(0)
摘要: (1)、IDEA中的Project可以被理解成当前工作空间,而每一个Module就是这个工作空间里的工作项目 (2)、一个Project中可以定义多个Module,Project与各个Module之间属于父子关系,各个Module之间则属于兄弟关系 IntelliJ系中的 Project 相当于Ec 阅读全文
posted @ 2021-12-21 19:21 emanlee 阅读(1742) 评论(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 阅读(581) 评论(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 阅读(754) 评论(0) 推荐(0)
摘要: REF http://blog.itpub.net/23556054/viewspace-1115506/ 查看 oracle 数据库是否启动: 一、LINUX: 1、用 ps -ef|grep ora 查看,是否有oracle的进程,linux下还可以用ipcs查看 2、查看监听的方法 cd /o 阅读全文
posted @ 2021-12-17 11:13 emanlee 阅读(957) 评论(0) 推荐(0)
摘要: Run菜单,选择‘’编辑配置‘, 每个py文件单独做以下的设置: 勾选 Run with Python Console 执行脚本,可以看到现在脚本运行在Python Console中,而不是通常的Run下运行了,现在我们就可以像IDLE一样,程序运行结束后,直接在Console输入命令,查看变量的值 阅读全文
posted @ 2021-12-16 19:44 emanlee 阅读(2629) 评论(0) 推荐(0)
上一页 1 ··· 111 112 113 114 115 116 117 118 119 ··· 347 下一页