Disclaimer: Note: This return of all, reproduced, please indicate the original source address:! Https://blog.csdn.net/qq_38366063 https://blog.csdn.net/qq_38366063/article/details/91495950
When to mybatis time judgment today, if the time contrast with the empty string error:
Cause: java.lang.IllegalArgumentException: invalid comparison: java.util.Date and java.lang.String\r\n###
Cause: java.lang.IllegalArgumentException: invalid comparison: java.util.Date and java.lang.String
After the normal empty string is determined later removed.
DATE type can not be compared with the type String.