[
https://issues.jboss.org/browse/FORGE-1670?page=com.atlassian.jira.plugin...
]
Matej Briskar commented on FORGE-1670:
--------------------------------------
I have already prepared the command, but I can't see any simple way to
delete/overwrite the persistence unit.
A) Class _PersistenceCommonDescriptor_ (representing the persistence.xml) has only method
_removeAllPersistenceUnit()_
B) Class _PersistenceUnitCommon_ (representing one persistence-unit) has only methods to
remove child nodes, but not the PU itself.
JPA Setup Command should allow explicitly overwriting existing
persistence units
---------------------------------------------------------------------------------
Key: FORGE-1670
URL:
https://issues.jboss.org/browse/FORGE-1670
Project: Forge
Issue Type: Feature Request
Components: Builtin Plugins, Java EE
Affects Versions: 2.1.1.Final
Reporter: Lincoln Baxter III
Labels: Starter
Fix For: 2.x Future
JPA Setup should have an "Overwrite" check-box that is enabled only when a name
conflict is detected.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)