[infinispan-issues] [JBoss JIRA] (ISPN-5549) JPACacheStore should be able to lookup a container manager Persistence Unit

RH Bugzilla Integration (JIRA) issues at jboss.org
Mon Jun 15 09:27:04 EDT 2015


     [ https://issues.jboss.org/browse/ISPN-5549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

RH Bugzilla Integration updated ISPN-5549:
------------------------------------------
        Bugzilla Update: Perform
    Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1223290


> JPACacheStore should be able to lookup a container manager Persistence Unit
> ---------------------------------------------------------------------------
>
>                 Key: ISPN-5549
>                 URL: https://issues.jboss.org/browse/ISPN-5549
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Loaders and Stores
>            Reporter: Sanne Grinovero
>
> The current {{JpaStore}} implementation starts all its {{EntityManagerFactory}} instances by using the Java SE recommended method, but this has several limitations:
>  - it's likely a duplicated persistence unit as the container will start one as well
>  - duplication leads to name clashes and lack of statistics in dashboards
>  - the container won't inject special features, such as the appropriate JTA context
>  - custom extensions from the container, like on WildFly you get a better scanner
>  - better integration with datasources
>  - Infinispan does a poor job in managing the lifecycle of its custom starte PU (not shutting it down)
>  - several containers apply some customizations to get Hibernate to work best (or at all) on them, you'd bypassing these compatibility fixes



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the infinispan-issues mailing list