为部分md文档生成目录
This commit is contained in:
@@ -1,3 +1,59 @@
|
|||||||
|
- [mybatis框架](#mybatis框架)
|
||||||
|
- [Mybatis中主要的类及其生命周期](#mybatis中主要的类及其生命周期)
|
||||||
|
- [SqlSessionFactoryBuilder](#sqlsessionfactorybuilder)
|
||||||
|
- [SqlSessionFactory](#sqlsessionfactory)
|
||||||
|
- [SqlSession](#sqlsession)
|
||||||
|
- [Mapper实例](#mapper实例)
|
||||||
|
- [Mybatis中的配置文件](#mybatis中的配置文件)
|
||||||
|
- [properties](#properties)
|
||||||
|
- [settings](#settings)
|
||||||
|
- [typeAliases](#typealiases)
|
||||||
|
- [typeHandler](#typehandler)
|
||||||
|
- [EnumTypeHandler](#enumtypehandler)
|
||||||
|
- [ObjectFactory](#objectfactory)
|
||||||
|
- [environment](#environment)
|
||||||
|
- [transactionManager](#transactionmanager)
|
||||||
|
- [datasource](#datasource)
|
||||||
|
- [mappers](#mappers)
|
||||||
|
- [Mybatis Mapper](#mybatis-mapper)
|
||||||
|
- [select](#select)
|
||||||
|
- [update、insert、delete](#updateinsertdelete)
|
||||||
|
- [selectKey](#selectkey)
|
||||||
|
- [sql](#sql)
|
||||||
|
- [parameter](#parameter)
|
||||||
|
- [mybatis ${}](#mybatis-)
|
||||||
|
- [resultMap](#resultmap)
|
||||||
|
- [resultMap的元素和属性](#resultmap的元素和属性)
|
||||||
|
- [id和result元素](#id和result元素)
|
||||||
|
- [constructor元素](#constructor元素)
|
||||||
|
- [association元素](#association元素)
|
||||||
|
- [嵌套select](#嵌套select)
|
||||||
|
- [嵌套result](#嵌套result)
|
||||||
|
- [collection元素](#collection元素)
|
||||||
|
- [collection元素的嵌套select](#collection元素的嵌套select)
|
||||||
|
- [collection元素的嵌套result](#collection元素的嵌套result)
|
||||||
|
- [discriminator](#discriminator)
|
||||||
|
- [automapping](#automapping)
|
||||||
|
- [mybatis缓存](#mybatis缓存)
|
||||||
|
- [cache-ref](#cache-ref)
|
||||||
|
- [动态sql](#动态sql)
|
||||||
|
- [if](#if)
|
||||||
|
- [choose、when、otherwise](#choosewhenotherwise)
|
||||||
|
- [where、trim、set](#wheretrimset)
|
||||||
|
- [where](#where)
|
||||||
|
- [trim](#trim)
|
||||||
|
- [set](#set)
|
||||||
|
- [foreach](#foreach)
|
||||||
|
- [Java API](#java-api)
|
||||||
|
- [SqlSession](#sqlsession-1)
|
||||||
|
- [SqlSessionFactory](#sqlsessionfactory-1)
|
||||||
|
- [SqlSessionFactoryBuilder](#sqlsessionfactorybuilder-1)
|
||||||
|
- [SqlSessionFactoryBuilder详解](#sqlsessionfactorybuilder详解)
|
||||||
|
- [创建SqlSessionFactory的示例](#创建sqlsessionfactory的示例)
|
||||||
|
- [通过Configuration来创建SqlSessionFactory](#通过configuration来创建sqlsessionfactory)
|
||||||
|
- [SqlSessionFactory构建SqlSession实例](#sqlsessionfactory构建sqlsession实例)
|
||||||
|
- [openSession参数](#opensession参数)
|
||||||
|
|
||||||
# mybatis框架
|
# mybatis框架
|
||||||
## Mybatis中主要的类及其生命周期
|
## Mybatis中主要的类及其生命周期
|
||||||
### SqlSessionFactoryBuilder
|
### SqlSessionFactoryBuilder
|
||||||
|
|||||||
@@ -1,3 +1,17 @@
|
|||||||
|
- [gson](#gson)
|
||||||
|
- [gson简介](#gson简介)
|
||||||
|
- [gson使用](#gson使用)
|
||||||
|
- [Gson库通过Maven引入](#gson库通过maven引入)
|
||||||
|
- [基本类型的序列化和反序列化](#基本类型的序列化和反序列化)
|
||||||
|
- [对象的序列化和反序列化](#对象的序列化和反序列化)
|
||||||
|
- [gson和对象联用的使用规范](#gson和对象联用的使用规范)
|
||||||
|
- [gson和嵌套类的关联使用](#gson和嵌套类的关联使用)
|
||||||
|
- [gson和数组的关联使用](#gson和数组的关联使用)
|
||||||
|
- [gson对java中的集合进行序列化和反序列化](#gson对java中的集合进行序列化和反序列化)
|
||||||
|
- [gson对Map类型的序列化和反序列化](#gson对map类型的序列化和反序列化)
|
||||||
|
- [序列化和反序列化泛型对象](#序列化和反序列化泛型对象)
|
||||||
|
- [序列化和反序列化集合,集合中保存任意类型的对象](#序列化和反序列化集合集合中保存任意类型的对象)
|
||||||
|
|
||||||
# gson
|
# gson
|
||||||
## gson简介
|
## gson简介
|
||||||
gson是一个java库,通常用来将java对象转化为其json表示的字符串,或者将json格式的字符串转化为其等价的java对象。
|
gson是一个java库,通常用来将java对象转化为其json表示的字符串,或者将json格式的字符串转化为其等价的java对象。
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
- [Spring Logging](#spring-logging)
|
||||||
|
- [Log Format](#log-format)
|
||||||
|
- [控制台输出](#控制台输出)
|
||||||
|
- [文件输出](#文件输出)
|
||||||
|
- [File Rotation](#file-rotation)
|
||||||
|
- [Log Level](#log-level)
|
||||||
|
- [Log Group](#log-group)
|
||||||
|
|
||||||
# Spring Logging
|
# Spring Logging
|
||||||
## Log Format
|
## Log Format
|
||||||
默认Spring Boot输出日志的格式如下
|
默认Spring Boot输出日志的格式如下
|
||||||
|
|||||||
Reference in New Issue
Block a user