mybatis中association 和collection 的区别

xiaoxiao2021-02-28  72

mybatis中association 和collection 的区别:https://zhidao.baidu.com/question/1240407172484106299.html

两个实体类关联,如果是一对一那么在mapper.xml中多表关联查询时就用association,如果是一对多则用collection

转载请注明原文地址: https://www.6miu.com/read-51189.html

最新回复(0)