[jboss-jira] [JBoss JIRA] (WFLY-203) add modules for Hibernate versions (3.x, 4.1.x/4.2.x), OpenJPA, EclipseLink which contain the JipiJapa integration jars

Scott Marlow (JIRA) jira-events at lists.jboss.org
Wed Aug 28 10:08:26 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799888#comment-12799888 ] 

Scott Marlow commented on WFLY-203:
-----------------------------------

Great point [~pangalz]!  I updated https://bugs.eclipse.org/bugs/show_bug.cgi?id=414974 to request that both properties (eclipselink.target-server + eclipselink.archive.factory) be supported by the EclipseLink. PersistenceProvider.createContainerEntityManagerFactory(PersistenceUnitInfo, Map) invocation (currently, EclipseLink requires eclipselink.target-server + eclipselink.archive.factory to be set as system properties).

If someone wants to contribute a patch to EclipseLink, to resolve https://bugs.eclipse.org/bugs/show_bug.cgi?id=414974, that would be helpful.  
                
> add modules for Hibernate versions (3.x, 4.1.x/4.2.x), OpenJPA, EclipseLink which contain the JipiJapa integration jars
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-203
>                 URL: https://issues.jboss.org/browse/WFLY-203
>             Project: WildFly
>          Issue Type: Enhancement
>          Components: JPA / Hibernate
>            Reporter: Craig Ringer
>            Assignee: Scott Marlow
>            Priority: Minor
>              Labels: eclipselink, jpa
>             Fix For: 8.0.0.Alpha2
>
>
> For EclipseLink to properly identify the container and set up correct transaction integration, etc, it needs the property "eclipselink.target-server" to be set to "JBoss".
> There's an open issue asking EclipseLink to auto detect the container (https://bugs.eclipse.org/bugs/show_bug.cgi?id=383257) but right now, a simple solution to making EclipseLink work well on AS7 is for AS7 to pass that property to EclipseLink.
> That'll help prevent issues and confusion like this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=365704
> Users can set it as a system property right now as shown on bug 383257, but really it'd be best if JBoss passed it to the persistence unit during creation.
> Time permitting I'll give this a go.

--
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