[shrinkwrap-issues] [JBoss JIRA] Created: (SHRINKDESC-41) PersistenceUnitDefImpl does not remove non-jta-data-source when configuring jta-data-source (and visa versa)

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Wed Mar 16 22:55:45 EDT 2011


PersistenceUnitDefImpl does not remove non-jta-data-source when configuring jta-data-source (and visa versa)
------------------------------------------------------------------------------------------------------------

                 Key: SHRINKDESC-41
                 URL: https://issues.jboss.org/browse/SHRINKDESC-41
             Project: ShrinkWrap Descriptors
          Issue Type: Bug
          Components: api
    Affects Versions: 0.1.3
            Reporter: Lincoln Baxter III
            Assignee: Lincoln Baxter III


Setting the value to empty is as good as it gets, but it's not good enough because this doesn't deploy.

unit.nonJtaDataSource("jndi:blah").jtaDataSource("jndi:blah")

Results in:

<jta-data-source>jndi:blah</jta-data-source>
<non-jta-data-source/>

But should be simply:

<jta-data-source>jndi:blah</jta-data-source>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the shrinkwrap-issues mailing list