Remember a mybatis error org.apache.ibatis . session.defaults.DefaultSqlSession

Today, MyBatis was used to insert a hop record into the database, and the error was reported as follows:
SqlSession [org. Apache. Ibatis. Session. Defaults. DefaultSqlSession @ 74794994] was not registered for synchronization because synchronization is not active
The error is due to the fact that one of my fields is NULL, but the database design, this field cannot be NULL, so the error is to change the input field not NULL, to solve the error.
Welcome to pay attention to my public number, learn together, exchange.

 

Read More: