-
Task
-
Resolution: Unresolved
-
Major
-
None
-
None
Currently, a new bean validator factory instance is associated with each deployed persistence unit. This jira calls for adding a new PU property that specifies that a 'per app bean validator factory' should be used for a persistence unit (via a persistence unit property).
This can be controlled by a new persistence unit property (see existing ones here).
The new property can be something like "org.jboss.as.jpa.shareValidatorFactory" which defaults to false.
Look at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deployPersistenceUnit() to make this change.
- is related to
-
WFLY-1705 JPA persistence units make use of SerializableValidatorFactory instead of using the JNDI bound default ValidatorFactory
- Closed