title: how to use select for update in spring-boot
body: <p>I'm using spring-boot v.4.3.18  and mariadb v.10.4.6 now .
  I'd like to use select for update like movie reservation service or Bank Transfer service.</p>
  
  <p>my project is connected mariadb like this.
  <a href="https://i.stack.imgur.com/DIx6a.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <p>and i'm using mapper for read data.</p>
  
  <p>Is there any method to query 'select for update' using mybatis?</p>
  
  <p>if there is nothing , then please tell me how to resolve this problem.</p>