1、动态SQL
MyBatis的一个强大的特征之一通常是它的SQL能力。提供了OGNL表达式动态生成SQL的功能。动态SQL有:
(1)if
(2)choose、when、otherwise
(3)where、set
(4)foreach
1、动态SQL
MyBatis的一个强大的特征之一通常是它的SQL能力。提供了OGNL表达式动态生成SQL的功能。动态SQL有:
(1)if
(2)choose、when、otherwise
(3)where、set
(4)foreach
转载于:https://www.cnblogs.com/xiaotieblog/p/8301374.html