2 smart19891210 smart19891210 于 2014.08.19 16:56 提问

ibatis的一个错误, 大神求助啊~~~

SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0];

--- The error occurred in sqlMapConfig/forex/Trade.xml.

--- The error occurred while applying a result map.

--- Check the Trade.getSpotTradeIntByEraseNoResult.

--- The error happened while setting a property on the result object.

--- Cause: java.sql.SQLException: The query with id Trade.getSpotTradeIntByEraseNo already queried at least 50000 records. The maximum limit of query records is 50000.; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:

--- The error occurred in sqlMapConfig/forex/Trade.xml.

--- The error occurred while applying a result map.

--- Check the Trade.getSpotTradeIntByEraseNoResult.

--- The error happened while setting a property on the result object.

--- Cause: java.sql.SQLException: The query with id Trade.getSpotTradeIntByEraseNo already queried at least 50000 records. The maximum limit of query records is 50000.

2个回答

u014141234
u014141234   2014.08.22 20:48

查出超过5万条,用分页吧。太多内存也会爆的。

qq_19765639
qq_19765639   2014.08.19 17:48

应该是电脑问题 你要去百度找下

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!