[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1674) PU Dependencies in persistence.xml properties are not honored

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Sat Jan 10 05:46:04 EST 2009


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

Andrew Lee Rubinger commented on EJBTHREE-1674:
-----------------------------------------------

http://anonsvn.jboss.org/repos/jbossas/projects/jpa/trunk/deployers/src/main/java/org/jboss/jpa/deployers/PersistenceUnitDeployer.java

The deployer is already looking for the property and adding a dependency, so chase down what's not complete.

> PU Dependencies in persistence.xml properties are not honored
> -------------------------------------------------------------
>
>                 Key: EJBTHREE-1674
>                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1674
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.0.0-Beta11
>         Environment: EJB3 Integration TestSuite "dependency" - org.jboss.ejb3.test.dependency.unit.DependencyUnitTestCase.testPUDependencies
>            Reporter: Andrew Lee Rubinger
>            Assignee: Andrew Lee Rubinger
>
> Given persistence.xml of the following form:
> <persistence xsi:schemaLocation="http://java.sun.com/xml/ns/persistence    http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
> <persistence-unit name="tempdb">
> <jta-data-source>java:/DefaultDS</jta-data-source>
> <properties>
> <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
> <property name="jboss.depends.1" value="jboss.test:service=YetAnotherDependedOn"/>
> </properties>
> </persistence-unit>
> </persistence>
> A dependency upon "jboss.test:service=YetAnotherDependedOn" should be defined, yet is not.

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