www.gxgs.net > JAVA StAtEmEnt 接口中的ExECutE方法跟ExECutEUpDA...

JAVA StAtEmEnt 接口中的ExECutE方法跟ExECutEUpDA...

setFetchSize()设置从数据库取得多行的行数大校 Statement stmt = conn.createStatement();ResultSet rsset = stmt.executeQuery("SELECT * FROM user LIMIT 30");rsset.setFetchSize(10);while(rsset.next()){ //这里还是30条记录}

网站地图

All rights reserved Powered by www.gxgs.net

copyright ©right 2010-2021。
www.gxgs.net内容来自网络,如有侵犯请联系客服。zhit325@qq.com