today,we talk about defaultSqlSession.this is the key class to execute the sql.
as usual,we look the field first.
except the last two field is diffcult to understand,others is easy to read how it works.ok,forget about what you can't understand,just go on.
here is the constructor. nothing but save all parameter.
this is the function called "selectOne",you will find one single parameter function invoke the two parameter function and the two parameter function invoke the function called "selectList".so you know,let's see this function.
ok,here we find three overloaded function.just as the selectOne,selectList use the other funtion to simplify the progress.
finally,the result is return by excutor's query function.
i will not to introduce more functions,because they are similar.