开发者

How to protect from executing excessively large searches?

开发者 https://www.devze.com 2023-02-19 22:33 出处:网络
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 throu

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

精彩评论

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