首页 > 代码库 > mybatis-spring 集成

mybatis-spring 集成

http://www.mybatis.org/spring/zh/index.html

http://www.mybatis.org/mybatis-3/zh/java-api.html

 

 

编程API:

 

SqlSession session = sqlSessionFactory.openSession();try {    // following 3 lines pseudocod for "doing some work"    session.insert(...);    session.update(...);    session.delete(...);    session.commit();} finally {    session.close();}

mybatis-spring 集成