Stage 3 1.Mybatis_11.Mybatis cache _4 mybatis achieve many lazy loading



Into a single-table queries


first configuration is select. He is the need to configure the value of the method accountDao query all accounts, but it must be conditional. The user id of the

configuration of a column is the id. Because the table to use the user id associated with the query

AccountDao increase findAccountByUid method


Mapped files only package to resultType which you can

 run a test
call to the test method

has begun to delay loaded.

Comment out the contents of the cycle.

Sql query the value of a user table

Guess you like

Origin www.cnblogs.com/wangjunwei/p/11324643.html