You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "Matt Benson (JIRA)" <ji...@apache.org> on 2018/10/18 15:31:00 UTC
[jira] [Updated] (BVAL-118) improve efficiency by associating bean
metadata with the factory rather than the context
[ https://issues.apache.org/jira/browse/BVAL-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Benson updated BVAL-118:
-----------------------------
Summary: improve efficiency by associating bean metadata with the factory rather than the context (was: annotation parsing is done by validator (ApacheFactoryContext))
> improve efficiency by associating bean metadata with the factory rather than the context
> ----------------------------------------------------------------------------------------
>
> Key: BVAL-118
> URL: https://issues.apache.org/jira/browse/BVAL-118
> Project: BVal
> Issue Type: Improvement
> Reporter: Romain Manni-Bucau
> Assignee: Matt Benson
> Priority: Major
> Fix For: 2.0.0
>
>
> Currently the parsing is cached by validator.
> Used with JPA integration (and particularly eclipselink) it is hurting since each time eclipselink needs a validator it creates a new one and on some big classes it can take more than 1s just to parse the class to validate!
> Would be nice to keep the meta/the parsing in tha factory instead
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)