整合ibatis+spring的时候报错

Could not find SQL statement to include with refid 'T_USER.Example_Where_Clause'

 

 

处理方法:在sqlMapConfig中添加如下配置

 

 <settings
   useStatementNamespaces="true"
   cacheModelsEnabled="false"
   enhancementEnabled="false"
   lazyLoadingEnabled="false"
   maxRequests="3000"
   maxSessions="3000"
   maxTransactions="3000" 
   />

posted @ 2015-04-17 11:44  JW-IT  阅读(133)  评论(0编辑  收藏  举报