0
<if test= "birthdate lt '20-10-2000'"> 

it works but is there a better way which mybatis documentation approves?

Lisbon
  • 126
  • 1
  • 1
  • 12
  • It's XML, so you can write `>` which means you can write ``. – ave Feb 06 '23 at 09:56
  • It does not work. syntax error in mybatis xml – Lisbon Feb 08 '23 at 06:08
  • If, by 'syntax error', you mean SQL syntax error, it's a different problem. Please add more info (complete statement, stack trace, TRACE level log, etc.) or share a small demo project like [these](https://github.com/harawata/mybatis-issues) that reproduces the error. – ave Feb 08 '23 at 06:31

0 Answers0