mybatis study

The SqlSession class mainly encapsulates the Configuration object, Executor object, whether to submit automatically

 

 

 The daily operation of data is just a set of things encapsulated by himself, such as Configuration (encapsulates Connection [source can make Pool]), Executor (encapsulates Statement), ResultHandler (encapsulates ResultSet objects), RowBounds (encapsulates ResultSet objects) Paging object), provides CRUD, provides a caching mechanism, provides a method for obtaining Sql statements according to configuration files, and provides transaction submission and rollback.

http://www.tuicool.com/articles/InqyYfN

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327052782&siteId=291194637