Coding Frequently Asked Questions Summary

1, do not set the default value to the property javabean

Because if the attribute default value is set, when data is received from the object using mybatis returned, even if no data is acquired, the object is not null, but a set of the acquired default attribute values ​​of an object, likely to cause bug .

Published 54 original articles · won praise 69 · Views 250,000 +

Guess you like

Origin blog.csdn.net/seanxwq/article/details/96162681