title: Alter Session to set Date Format in MyBatis
body: <p>How can I do this in the same transactional session?</p>
  
  <pre><code>alter session set nls_date_format = 'yyyy/mm/dd hh24:mi:ss'
  </code></pre>
  
  <p>There are some procedures and insertes that I need to execute this before them.
  I've tried to make another method, in the same one, but it still doesn't work.</p>
  
  <p>I have MyBatis integrated with Spring. I don't know if it makes any difference.</p>
  
  <p>Can anyone help me?</p>
  
  <p>Thanks.</p>
  
  <p>SOLUTION:</p>
  
  <p>I'v managed this to work by changing the way Spring and MyBatis integrates through SqlSession.</p>