Java Part III: mybatis generator 1.4.0 version query data appears in a bar situation data field is empty

When this is the case, I call selectByExampleWithRowbounds method to query the data and found that less than a description field of data acquisition

And the database are all mapper.xml in this field, as shown below:

But found that the description in a single file resultmap in mapper.xml

Think of query method has withBlobs, on the next test, the results of successful

The reason is: When a table has a field of type Text, generator and other types of property with a text field to a clob type, you will need to use the method to query xxxxwithBlobs

Published 65 original articles · won praise 31 · views 50000 +

Guess you like

Origin blog.csdn.net/zhangtao0417/article/details/104298771