ps = (PreparedStatement) con.prepareStatement("select * from bigTable", ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY); ps.setFetchSize(Integer.MIN_VALUE); ps.setFetchDirection(ResultSet.FETCH_REVERSE);
mysql 处理大数据
原文地址:https://www.cnblogs.com/warling/p/10906940.html
时间: 2024-10-11 21:21:03