[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1597) Missing default persistence properties

Paul Ferraro (JIRA) jira-events at lists.jboss.org
Tue Nov 25 23:46:36 EST 2008


    [ https://jira.jboss.org/jira/browse/EJBTHREE-1597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12439779#action_12439779 ] 

Paul Ferraro commented on EJBTHREE-1597:
----------------------------------------

Added a fix to AS ejb3 module, which contains the formerly problematic jpa-deployers-jboss-beans.xml used by the AS.

While the original issue (JBSEAM-3586) is now fixed, for completeness, this fix should be applied to the jpa-deployers-jboss-beans.xml file in ejb3 core as well - and its persistence.properties file (and DefaultPersistenceUnitProperties class) deleted.

However, the test from the AS testsuite cannot be ported to the ejb3 testsuite, as it deploys a persistence unit in the AS, which does not use the jpa-deployers-jboss-beans.xml from ejb3 core, but its own version.  The test also uses the hibernate API, and there is an unfortunate discrepancy between the version used by the AS (3.3.1) and one used by ejb3 (3.2.6).

I don't understand why there are 2 identical versions of jpa-deployers-jboss-beans.xml to begin with...

Reassigning to Carlo to ponder a proper resolution.

> Missing default persistence properties
> --------------------------------------
>
>                 Key: EJBTHREE-1597
>                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1597
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: deployers
>    Affects Versions: 1.0.0-Beta8
>            Reporter: Brian Stansberry
>            Assignee: Paul Ferraro
>             Fix For: 1.0.0-Beta9
>
>
> It appears deployers/ejb3.deployer/META-INF/persistence.properties is now completely ignored, and the default persistence properties are injected into the deployers/ejb3.deployer/META-INF/jpa-deployers-jboss-beans.xml "PersistenceUnitDeployer" bean via an embedded set of properties.
> Most of the properties from the persistence.properties file are not being injected, so some defaults appear to have been dropped. I believe this is the cause of JBSEAM-3586.
> Fix is to:
> 1) include the missing properties in the injected property set. Include commented out entries equivalent to the commented out ones in persistence.properties.
> 2) remove persistence.properties
> 3) test for regressions

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list