How to access temporary table(# table sybase ase 15) from java using mybatis

寵の児 提交于 2019-12-11 15:47:19

问题


I have requirement such as

follow are the steps

step 1 : From java process I will create a temp table(# table ).
step 2 : Insert some data to that temp table(# table ) after parsing a csv file.
Step 3 : Will call a Procedure which will access that temp table(# table ) 
         and do some processing and insert the data from temp table 
         to a parmanent table, and return error if present
Step 4 : Drop the temp table

ORM Tool : mybatis 
Database server : SYBASE ASE 15.0
Programming Language : Java,Tsql

Please help

EDIT : Found out the answer, I have to use global temptable (## temp table) :)

来源:https://stackoverflow.com/questions/31181130/how-to-access-temporary-table-table-sybase-ase-15-from-java-using-mybatis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!