New Year's new weather, celebrate. Wait for me.
The N 1 Select solution given by the author is for a couple, he thinks the map of one-on-one-class attribute, through the view SELECT and LAZYLOAD, it has been easily solved, so it is resolved 1: M / M: N problem, I took the table in jpetStore as an example, as follows: XML Version = "1.0" encoding = "UTF-8" Standalone = "no"?> resultMap> resultMap> Select * from category c, product p where c.catid = p.category select> sqlmap> Note two blue parts. Subrid level Resultmap Name Space must be added,
Otherwise it is wrong. In addition, several new features have not yet been seen, I think 1: M problem is the most urgent, because this influence is relatively large, everyone says that Ibatis knows that there is a N 1 query problem is unrestricted, the psychological impact is relatively large.