[wildfly-dev] performance issue with wildfly and hibernate validator
Hardy Ferentschik
hardy at hibernate.org
Fri Sep 12 14:40:54 EDT 2014
> > ...
> > The performance penalty of wildfly not caching the implementation of that method in regards to
> > hibernate is that HibernatePersistenceProvider uses a cache for classes/methods/fields
> > and that cache is blown away on every call to getPersistenceProviders and that
> > happens on every validation of every member of every class.
>
>
> I agree with your interpretation.
+1
For what it's worth Bean Validation caches its discovered Bean Validation Providers as well in
javax.validation.Validation.
--Hardy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 496 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/wildfly-dev/attachments/20140912/f3c4477e/attachment.bin
More information about the wildfly-dev
mailing list