new SqlSessionFactoryBuilder().build(inputStream)
SqlSession sqlSession = sqlSessionFactory.openSession();
TUserMapper mapper = sqlSession.getMapper(TUserMapper.class);
TUser user = mapper.selectByPrimaryKey(1);
new SqlSessionFactoryBuilder().build(inputStream)
SqlSession sqlSession = sqlSessionFactory.openSession();
TUserMapper mapper = sqlSession.getMapper(TUserMapper.class);
TUser user = mapper.selectByPrimaryKey(1);