Development: Software caused connection abort: recv failed, abortrecv
Ibatis is widely used recently, and many small and strange problems have been encountered in the middle, but it has been quite difficult for me for a long time. Then record it:
One of them: java. SQL. SQLException: Io exception: Software caused connection abort: recv failed
This problem has been fixed for a long time, because most data queries are normal. This problem occurs when a specific data is found, which means that the connection has been closed during the query.
Then I went to the database to check the data and found that the data table is different from the entity. The data table has a column Line while most of the data in this column is empty. So most queries are okay,
When a Line is not empty, it does not correspond to the object attribute, so this error occurs.
Solution:
1. Clear all the fields in the data table.
2. Kill this field
3. This attribute is added to an object.