[jboss-jira] [JBoss JIRA] (AS7-5764) add jpa global settings for VFS, extended persistence context inheritance technique
Scott Marlow (JIRA)
jira-events at lists.jboss.org
Tue Oct 16 17:19:01 EDT 2012
[ https://issues.jboss.org/browse/AS7-5764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Marlow updated AS7-5764:
------------------------------
Description:
The VFS option is set to false to enable FILE based URLS to be passed to the persistence provider at deployment time (see javax.persistence.spi.PersistenceUnitInfo). The default is true, which enables VFS based URLS to be used. Some persistence providers may need jboss.as.jpa.vfs to be false, for application deployments to be (successfully) scanned for entity classes.
The extended persistence inheritance type, controls how JPA extended persistence context (XPC) inheritance is performed. XPC inheritance only occurs between stateful session beans used within the same EJB3 thread. This might be a stateful bean that injects other stateful beans (directly or via JNDI lookup).
With DEEP extended persistence inheritance, the extended persistence context is always shared at the top most stateful bean level. Even if the top level bean does not have an extended persistence context, sub-beans (siblings) will share the extended persistence context (requiring fewer copies of entities to be loaded).
With SHALLOW extended persistence inheritance, the extended persistence context is only shared between a stateful bean and its parent bean. This means that sibling stateful beans with the same parent bean, will have isolated persistence contexts (assuming the parent bean doesn't have an extended persistence context).
> add jpa global settings for VFS, extended persistence context inheritance technique
> -----------------------------------------------------------------------------------
>
> Key: AS7-5764
> URL: https://issues.jboss.org/browse/AS7-5764
> Project: Application Server 7
> Issue Type: Feature Request
> Components: JPA / Hibernate
> Reporter: Scott Marlow
> Assignee: Scott Marlow
> Fix For: 7.2.0.CR1
>
>
> The VFS option is set to false to enable FILE based URLS to be passed to the persistence provider at deployment time (see javax.persistence.spi.PersistenceUnitInfo). The default is true, which enables VFS based URLS to be used. Some persistence providers may need jboss.as.jpa.vfs to be false, for application deployments to be (successfully) scanned for entity classes.
> The extended persistence inheritance type, controls how JPA extended persistence context (XPC) inheritance is performed. XPC inheritance only occurs between stateful session beans used within the same EJB3 thread. This might be a stateful bean that injects other stateful beans (directly or via JNDI lookup).
> With DEEP extended persistence inheritance, the extended persistence context is always shared at the top most stateful bean level. Even if the top level bean does not have an extended persistence context, sub-beans (siblings) will share the extended persistence context (requiring fewer copies of entities to be loaded).
>
> With SHALLOW extended persistence inheritance, the extended persistence context is only shared between a stateful bean and its parent bean. This means that sibling stateful beans with the same parent bean, will have isolated persistence contexts (assuming the parent bean doesn't have an extended persistence context).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list