开发者

How to protect from executing excessively large searches?

I would like to limit all user searches by 65,000 rows. This change should be invisible to users but function as a back end protection from users executing e开发者_C百科xcessively large searches through the user interface. I have use the Hibernate 3.6, MySQL 5.x and JBoss 5.1


http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html maxRows - The maximum number of rows to return (0, the default means return all rows).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜