http://opensource.atlassian.com/confluence/oss/display/IBATIS/Environment+Specific+Information

Timeout
As of release 2.2.0, iBATIS includes a query timeout funcionality.
You can specify both a global timeout
  
<settings defaultStatementTimeout="2" />
or a per query timeout
  
<statement ... timeout="2">
When the timeout expires, it throws a SQL Exception "ORA-01013 : user requested cancel of currentoperation".
  
Tested with: Oracle 9i release 2 drivers.

결론 : 수행에 3초이상 걸리는 쿼리가 있다면 해당 쿼리 정의문에 timeout attribute를 주던가 기본 sqlmap-config.xml 파일의 defaultStatementTimeout 값을 늘려주어라.

+ Recent posts