MyBatis: trying to make sure how session works.
authorGustavo Martin Morcuende <gustavo@supergusarapo.(none)>
Thu, 29 Aug 2013 20:18:02 +0000 (22:18 +0200)
committerGustavo Martin Morcuende <gustavo@supergusarapo.(none)>
Thu, 29 Aug 2013 20:18:02 +0000 (22:18 +0200)
commit12791a6dedc56ae88734bcd9c52a2b0ae71f0d1b
tree5e87fd19dc18a4fdc77a2e0978814d64d9624a80
parent32e836971a4071f241fd87ea072c567e189cf7ac
MyBatis: trying to make sure how session works.

Some nice comments about:
1. Default values for opened sessions.
2. Caches.
3. Scope and lifecycle of SqlSessionFactoryBuilder, SqlSessionFactory and SqlSession.
MyBatis/MyBatis-Spring/src/main/resources/config/mybatis-config.xml
MyBatis/MyBatis-Spring/src/main/resources/spring-config.xml
MyBatis/MyBatis/src/main/java/de/example/mybatis/TestMain.java
MyBatis/MyBatis/src/main/resources/mybatis-sql-maps-config.xml