1. Create SqlSessionFactory
2, created by SqlSession SqlSessionFactory
3, by performing database operations SqlSession
4, call session.commit () to commit the transaction
5, call session.close () to close the session
1. Create SqlSessionFactory
2, created by SqlSession SqlSessionFactory
3, by performing database operations SqlSession
4, call session.commit () to commit the transaction
5, call session.close () to close the session