[jboss-jira] [JBoss JIRA] Commented: (AS7-1273) Applications (or their libraries) containing persistence units with the connection defined inline via properties cause deployment failure.

Scott Marlow (JIRA) jira-events at lists.jboss.org
Tue Aug 30 10:37:26 EDT 2011


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

Scott Marlow commented on AS7-1273:
-----------------------------------

I think we need a different way to ignore the persistence unit, than just noticing that the datasource is not specified.

> Applications (or their libraries) containing persistence units with the connection defined inline via properties cause deployment failure.
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AS7-1273
>                 URL: https://issues.jboss.org/browse/AS7-1273
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JPA / Hibernate
>    Affects Versions: 7.0.0.Beta1, 7.0.0.Final
>            Reporter: Justin Wyer
>            Assignee: Scott Marlow
>              Labels: as7, jpa
>             Fix For: 7.0.2.Final
>
>
> Persistence units defined as follows https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/src/main/resources/META-INF/persistence.xml causes deployment to fail due to the fact that no <jta-data-source> or <non-jta-data-source> is present, but none should be present as the datasource has been defined via the properties.

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

        


More information about the jboss-jira mailing list