Home > Back-end >  Mybatis query results part is empty, the database has a value (sometimes normal)
Mybatis query results part is empty, the database has a value (sometimes normal)

Time:11-26

Who come across this problem, the mybatis query, mapped to entities, part of the value of database is not empty, but the entity inside is empty, sometimes don't appear this problem

SysId=ZB, sysName=xx system, sourceId=102753, lv1=xx management, lv2=null, lv3=null, lv4=null, c1=null, c2=null, c3=null, c4=null, c5=null, c6=null, c7=null, c8=null, c9=null, c10=null, c11=null, c12=null, c13=null, c14=null, c15=null, c16=null, c17=null, c18=null, c19=null, c20=null, c21=null, c22=null, c23=null, c24=null, c25=null, c26=null, c27=null, c28=null, c29=null, c30=null, c31 microcomputer=null, c32=null

C1 - c32 intermediate part has the value of the column database


Sometimes is normal, but as long as there is abnormal, restart tomcat can restore, restart the computer useful,

CodePudding user response:

To create a database, and then move the data in the past

CodePudding user response:

First check your all of the fields are all write is the same as the actual database, case also has difference, also do not drop off his watch, in a new line, not to build a database,

CodePudding user response:

This problem is quite strange, there is an error, please, take out to the value of how to deal with it, the treatment when there are problems

CodePudding user response:

The original poster can have the results tell me because of what

CodePudding user response:

Database connection pool is used up? You don't restart the computer, try to restart the mysql service
  • Related