JBoss List Archives
Sign In
Sign Up
Sign In
Sign Up
Manage this list
2024
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
List overview
Download
thread
[hibernate-issues] [JIRA] (HV-1933) Performance issue for validating list with 20k elements
Marko Bekhta (JIRA)
Tuesday, 10 January 2023
Tue, 10 Jan '23
4:16 p.m.
Marko Bekhta (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HV-1933 (
https://hibernate.atlassian.net/browse/HV-1933?atlOrigin=eyJpIjoiMDRmMmY1...
) Re: Performance issue for validating list with 20k elements (
https://hibernate.atlassian.net/browse/HV-1933?atlOrigin=eyJpIjoiMDRmMmY1...
) hey, Anatoliy Balakirev (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5c62d60...
) thanks for reporting the issue and providing the code examples. Please see linked issues -
https://hibernate.atlassian.net/browse/HV-1831
(
https://hibernate.atlassian.net/browse/HV-1831
) and
https://hibernate.atlassian.net/browse/HV-1928
(
https://hibernate.atlassian.net/browse/HV-1928
) Looks like in your case you have a combination of both. You don’t really need to have @Valid unless you expect to do cascading validation (so places like private @Valid String currencyCode; shouldn’t use @Valid ). And well the fact that you have a huge list of objects for cascading degrades the performance (
https://hibernate.atlassian.net/browse/HV-1831
(
https://hibernate.atlassian.net/browse/HV-1831
) should address that part) (
https://hibernate.atlassian.net/browse/HV-1933#add-comment?atlOrigin=eyJp...
) Add Comment (
https://hibernate.atlassian.net/browse/HV-1933#add-comment?atlOrigin=eyJp...
) Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100213- sha1:cca7326 )
Attachments:
attachment.html
(text/html — 14.4 KB)
0
/
0
Reply
Back to the thread
Back to the list