mybatis添加、修改、删除语句成功,数据库却加不进去,缘由是没有session.commit();

String resource = "mybatis.xml"; InputStream inputStream = Resources.getResourceAsStream(resource); SqlSessionFactory sqlSessionFactory = new SqlSessionFactoryBuilder().build(inputStream); SqlSe
相关文章
相关标签/搜索