Wednesday, 30 September 2015

Spring Validation - collection max index.

Since Spring 3 DataBinder have aditional validation of collections which prevents out of memeory attack. This validation default limits collection size to 256 elements of collection.
If you need to increase this limit you have to use method setAutoGrowCollectionLimit before you register custom editors.

No comments:

Post a Comment