Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@14a9086f] Creating a new SqlSession SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@53a2e535] was not
@Test public void arInsert() { User user = new User(); user.setName("Song"); user.setEmail("sls@atguigu.com"); user.setAge(35); boolean result = user.insert(); System.out.println("result = " + result); } 日志长这样Creating a new SqlSession SqlSession [org.apache.ibatis.session...
Creating a new SqlSession SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6acc6ecd] was not registered for synchronization because synchronization is not active JDBC Connection [com.mysql.jdbc.JDBC4Connection@2320cee0] will not be managed by Spring ==> Preparing: SELECT COUNT(*) FR...
Creating a new SqlSession SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@63dc1476] was not registered for synchronization because synchronization is not active JDBC Connection [HikariProxyConnection@1830549117 wrapping com.mysql.cj.jdbc.ConnectionImpl@7b7782db] will not be managed by Spri...
UserMapper userMapper= applicationContext.getBean(UserMapper.class);intinsert =userMapper.insert(newUser(null,"阿伟001","133778",1,0) ); } } 日志打印结果: DEBUG [main] - Creating a new SqlSession DEBUG [main] - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@8519cb4] was ...
CreatinganewSqlSessionSqlSession[org.apache.ibatis.session.defaults.DefaultSqlSession@75023c53]wasnotregisteredforsynchronizationbecausesynchronizationisnotactiveJDBCConnection[HikariProxyConnection@688197093wrappingcom.mysql.jdbc.JDBC4Connection@3610f277]willnotbemanagedbySpring==>Preparing:SELECTid,name,age,email,crea...
Creating a new SqlSession Registering transaction synchronization for SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@56f299df] JDBC Connection [com.mysql.jdbc.JDBC4Connection@5a034b92] will be managed by Spring JsqlParserCountOptimize sql=SELECT su.user_id AS userId, su.user_name ...
Creating a new SqlSession SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4e433553] was not registered for synchronization because synchronization is not active JDBC Connection [HikariProxyConnection@1622937882 wrapping ConnectionID:1 ClientConnectionId: d031f14a-cf0b-4c20-984e-fcf89f04...
Creating a new SqlSessionSqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5e207103] was not registered for synchronization because synchronization is not activeClosing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5e207103]2021-06-16 08:57:19.297 | ERROR ...
Creating a new SqlSession SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@708e9ffd] was not registered for synchronization because synchronization is not active --- [ XNIO-1 task-12] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited JDBC Connection [com.alibaba....