title: Global Temp table fusing on Tomee before session close
body: <p>We have an ui application. one of the functionality is, when user search for something, we store search result on temp table and then show data to user. Upon user submit his change and submit. somehow, temp table is not having search result before saving to database. Database using is oracle.</p>
  
  <p>This functionality recently moved from web logic to tomee. It was perfectly fine with weblogic. No code changes between weblogic and tomee.</p>
  
  <p>Any idea why global temp table data flushing on same active session and how to make it work on tomee.</p>