[jboss-jira] [JBoss JIRA] (AS7-4470) JPA should allow for a bean validator factory per persistence unit or per application deployment
Scott Marlow (JIRA)
jira-events at lists.jboss.org
Thu Jun 21 22:31:12 EDT 2012
[ https://issues.jboss.org/browse/AS7-4470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Marlow updated AS7-4470:
------------------------------
Fix Version/s: 7.2.0.Alpha1
Forum Reference: https://community.jboss.org/thread/197521?start=0&tstart=0 (was: https://community.jboss.org/thread/197521?start=0&tstart=0)
> JPA should allow for a bean validator factory per persistence unit or per application deployment
> ------------------------------------------------------------------------------------------------
>
> Key: AS7-4470
> URL: https://issues.jboss.org/browse/AS7-4470
> Project: Application Server 7
> Issue Type: Task
> Components: JPA / Hibernate
> Affects Versions: 7.1.0.Final
> Reporter: Scott Marlow
> Labels: open_to_community
> Fix For: 7.2.0.Alpha1
>
>
> 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|https://docs.jboss.org/author/display/AS71/JPA+Reference+Guide#JPAReferenceGuide-Persistenceunitproperties].
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list