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.
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:
- [solved] closingontransa ctionalSqlSessionorg.apache.ibatis . session.defaults.DefaultSqlSession @20] No information after that.
- When I first learned mybatis org.apache.ibatis . binding.BindingException report errors
- Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibat
- org.apache.ibatis.type.TypeException: Error setting non null for parameter #4 with JdbcType null
- solve org.apache.ibatis . binding.BindingException : invalid bound statement (not found)
- Error building SqlSession. ### Cause: org.apache.ibatis.builder.BuilderException: Error creating d
- [Solved] org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.zyh.springboot.
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.xxx.dao.UserDao
- org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession. ### The error may
- org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is ‘com/hujin
- Does the version of idea2020.1 import mybayis jar package or report an error? Error: (4,28) Java: package org.apache.ibatis.io does not exist
- org.apache.hadoop.hive.ql.exec.spark.SparkTask. Failed to create Spark client for Spark session 0354
- Error: Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2
- The jar package download of Maven project appears (could not transfer artifact. Org mybatis:mybatis )
- Failed to retrieve plugin descriptor for org.mybatis.generator :mybatis-generator
- session_ start(): open(SESSION_ FILE, O_ Rdwr)) failed: processing of permission denied (13)
- failed to lazily initialize a collection of role: ……, no session or session was closed
- [Solved] hiveonspark:Execution Error, return code 30041 from org.apache.hadoop.hive.ql.exec.spark.SparkTask
- org.apache.flink.runtime.client.JobSubmissionException: Failed to submit JobGraph
- org.apache.spark.SparkException: Task not serializable