022-mybatis

占位符

${}

#{}

参数的一些规则

mode(存储过程)

jdbcType

在数据为null的时候,

mybatis默认对应OTHER类型

oracle不识别

mysql可以识别

jdbcTypeForNull=OTHER

jdbcTypeForNull=NULL

@MapKey

注解,指定返回map的key

关联查询

association

association分布查询

 

posted @ 2021-11-15 10:42  悟_空  阅读(30)  评论(0)    收藏  举报