-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: enhancementA general enhancementA general enhancement
Milestone
Description
Daniel Mikusa opened SPR-11304 and commented
There is a performance issue when Spring MVC validates a large object graph using JSR 303 Bean Validation API & Hibernated Validator.
Here is the object structure for the sample project in spring-framework-issues...
- Address
- propA (string)
- propB (string)
- propC (List) // has around 100 elements
- Object1
- propA (string)
- propB (List) // has around 30 elements
- Object 2
- propA
- propB
- propC
Worst case it takes about 2.5 seconds to process a request that fails validation. Without validation, processing is very fast.
Affects: 3.2.6, 4.0 GA
Issue Links:
- StringIndexOutOfBoundsException in AbstractErrors for class-level JSR-303 validator [SPR-11374] #16001 StringIndexOutOfBoundsException in AbstractErrors for class-level JSR-303 validator
Backported to: 3.2.7
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: enhancementA general enhancementA general enhancement