[jboss-jira] [JBoss JIRA] (WFLY-11173) The JPADefinition.DEPLOY_INSTANCE ResourceDefinition is not correct
Brian Stansberry (Jira)
issues at jboss.org
Fri Oct 12 22:35:00 EDT 2018
Brian Stansberry created WFLY-11173:
---------------------------------------
Summary: The JPADefinition.DEPLOY_INSTANCE ResourceDefinition is not correct
Key: WFLY-11173
URL: https://issues.jboss.org/browse/WFLY-11173
Project: WildFly
Issue Type: Bug
Components: JPA / Hibernate
Reporter: Brian Stansberry
Assignee: Scott Marlow
Reusing JPADefinition for both the normal subsystem resource and the deployment subsystem resource causes some oddness.
The /deployment=*/subsystem=jpa resource should not have 'add' and 'remove' operations. A user invoking them would break things so they should not be present.
The 'default-datasource' and 'default-extended-persistence-inheritance' attributes don't make a lot of sense on the /deployment=*/subsystem=jpa resource either. But since they are part of the existing API and reading them doesn't do any harm, reads can be supported. Writes, no. And reads should be implemented by adding a step that reads the main subsystem value.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list