该系列文档是本人在学习 Mybatis 的源码过程中总结下来的,可能对读者不太友好,请结合我的源码注释(Mybatis源码分析 GitHub 地址、Mybatis-Spring 源码分析 GitHub 地址、Spring-Boot-Starter 源码分析 GitHub 地址)进行阅读 MyBati ...
分类:
数据库 时间:
2020-12-01 12:14:50
阅读次数:
12
package com.song.main; public class FinallizeEspaceGC { public static FinallizeEspaceGC SAVE_HOOK = null; public void isAlive(){ System.out.println("y ...
分类:
其他好文 时间:
2020-11-30 15:59:10
阅读次数:
7
Yii的Model是自带Label的,显示表格时会自动从Model中获取Label并显示,但是在导出到文件时,却并不能自动获取Label,经过跟踪发现,问题出在如下代码:publicfunctioninitExport(){......$this->setDefaultStyles(‘header‘);$this->setDefaultStyles(‘box‘);$this->f
分类:
其他好文 时间:
2020-11-30 15:28:37
阅读次数:
5
void copy(BiTree T,BiTree &NewT){ //复制树 if(T == NULL){ NewT = NULL; return; }else { NewT = new BiTNode; NewT->data = T->data; copy(T->lchild,NewT->lch ...
分类:
其他好文 时间:
2020-11-30 15:28:17
阅读次数:
2
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/ ...
分类:
其他好文 时间:
2020-11-30 15:26:42
阅读次数:
3
一、Table Demo CREATE TABLE `employees` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(24) NOT NULL DEFAULT '' COMMENT '姓名', `age` int(11) NOT N ...
分类:
数据库 时间:
2020-11-30 15:26:05
阅读次数:
7
定义几个常用的方法 const utils = { //定义变量是否存在 js有两个表示不存在的值 undefined|null true表示存在 false表示不存在(undefined|null) existy(val) { return val != null //undefined 也是可以 ...
分类:
其他好文 时间:
2020-11-27 11:46:22
阅读次数:
19
发现1可以进去0进不去 <if test="status != null and status != ''"> and c.status = #{status} </if> 后来修改为 <if test="status != null"> and c.status = #{status} </if> ...
分类:
其他好文 时间:
2020-11-27 11:44:41
阅读次数:
13
测试第一个博客 献上基于C语言的数据结构之线性表 //线性表 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <math.h> #define MAXSIZE 100 type ...
分类:
其他好文 时间:
2020-11-27 10:59:10
阅读次数:
5
一、约束 1)主键 主键约束=非空约束+唯一约束 主键可以是一个列或者多个列 1)创表添加多个列作为主键 create table score1( sid int not null, cid int not null, PRIMARY key(sid,cid) ); 2)删除主键约束 alter t ...
分类:
数据库 时间:
2020-11-26 14:30:23
阅读次数:
8