学习java,挺好玩的呢
  2018年12月11日
摘要: 1 create table student( 2 id int(10) primary key auto_increment, 3 name varchar(20), 4 age int(3), 5 tid int(10), 6 constraint fk_teacher foreign key (tid) references teacher(id) 7 ); 名称 ... 阅读全文
posted @ 2018-12-11 20:05 axu521 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 1、应用程序和数据库交互的过程是一个相对比较耗时的过程 2、缓存存在的意义:让应用程序减少对数据库的访问,提升程序运行的xiaolv 3、MyBatis中默认SqlSession缓存开启 3.1 同一个SqlSession对象调用同一个<select>时,只有第一次访问数据库,第一次之后把查询结果缓 阅读全文
posted @ 2018-12-11 19:41 axu521 阅读(112) 评论(0) 推荐(0) 编辑

<