[forge-issues] [JBoss JIRA] (FORGE-882) The entity plugin should support addition of newly created entities to a persistence unit

Vineet Reynolds (JIRA) jira-events at lists.jboss.org
Tue Apr 30 16:25:53 EDT 2013


Vineet Reynolds created FORGE-882:
-------------------------------------

             Summary: The entity plugin should support addition of newly created entities to a persistence unit
                 Key: FORGE-882
                 URL: https://issues.jboss.org/browse/FORGE-882
             Project: Forge
          Issue Type: Feature Request
          Components: Java EE APIs
            Reporter: Vineet Reynolds


The entity plugin just creates a new JPA entity, but it does not offer to add the newly created entity to a persistence unit. There is an underlying assumption that the PU includes unlisted classes, whereas the opposite could be true.

It is therefore desired that the entity plugin should either prompt the user to add the new entity to a PU (if there are multiple PUs), or should perhaps add the entity to an existing PU if it is the only one in the project configured to exclude unlisted classes.

Note that these are suggestions and the feature could be implemented in a suitable way to allow entities to be added to PUs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list