Home > database >  The output of the MySQL under MyBatis problem
The output of the MySQL under MyBatis problem

Time:10-01

Is my profile Settings is there a problem? This is why the output?
Pray god give directions!

CodePudding user response:

Not configuration problems, so that the printing is correct, because you is a bean object, receives is the screenshots of the Country, and now you can use in the Country to display attribute values, (can understand so, the Country is a data table, do you want to see the inside of the property, have to the Country. The cname, Country. The mids so take), if any problem, can focus on individual "andyqian" public, would be happy to answer for you,

CodePudding user response:

Thank you for your answer. At the back of the Country and the corresponding attributes can display.
I am writing code according to the teaching video, but video can be normal to print out the query results. But I always can't find the reasons together.
So if I want to print out and complete the query results in the teaching video, and how should change?


CodePudding user response:



refer to the second floor qq_32647927 response:
thank you for your answer. At the back of the Country and the corresponding attributes can display.
I am writing code according to the teaching video, but video can be normal to print out the query results. But I always can't find the reasons together.
So if I want to print out and complete the query results in the teaching video, and how should change?


under the original poster can give you the log4j configuration, I didn't automatically configure SQL statements and parameters of the line

CodePudding user response:


This should be no big problem?

CodePudding user response:

Entity class didn't rewrite the toString () method...

CodePudding user response:

The returned result is an entity class!!!! Do you want to output, should be in entity class add a toString () method,
  • Related