[JBoss JIRA] (FORGE-1443) database.action property in persistence.xml should be drop-and-create
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1443?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-1443:
-----------------------------------
Status: Closed (was: Pull Request Sent)
Fix Version/s: 2.0.0.Final
(was: 2.x Future)
Resolution: Done
> database.action property in persistence.xml should be drop-and-create
> ---------------------------------------------------------------------
>
> Key: FORGE-1443
> URL: https://issues.jboss.org/browse/FORGE-1443
> Project: Forge
> Issue Type: Sub-task
> Components: Scaffold
> Affects Versions: 2.0.0.Beta4
> Reporter: Antonio Goncalves
> Assignee: Ivan St. Ivanov
> Fix For: 2.0.0.Final
>
>
> When you setup JPA in Forge 1.x you get :
> {code}
> <property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>
> {code}
> In Forge 2.Beta instead of {{drop-and-create}} you get only {{create}} :
> {code}
> <property name="javax.persistence.schema-generation.database.action" value="create"/>
> {code}
> Instead you should have
> {code}
> <property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>
> {code}
> And by the way, why not generating the DDL script as well ? You could have :
> {code}
> <property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>
> <property name="javax.persistence.schema-generation.scripts.action" value="drop-and-create"/>
> <property name="javax.persistence.schema-generation.scripts.create-target" value="<projectName>Create.ddl"/>
> <property name="javax.persistence.schema-generation.scripts.drop-target" value="<projectName>Drop.ddl"/>
> {code}
--
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
12 years, 3 months
[JBoss JIRA] (FORGE-1443) database.action property in persistence.xml should be drop-and-create
by Ivan St. Ivanov (JIRA)
[ https://issues.jboss.org/browse/FORGE-1443?page=com.atlassian.jira.plugin... ]
Ivan St. Ivanov updated FORGE-1443:
-----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/forge/core/pull/365
> database.action property in persistence.xml should be drop-and-create
> ---------------------------------------------------------------------
>
> Key: FORGE-1443
> URL: https://issues.jboss.org/browse/FORGE-1443
> Project: Forge
> Issue Type: Sub-task
> Components: Scaffold
> Affects Versions: 2.0.0.Beta4
> Reporter: Antonio Goncalves
> Assignee: Ivan St. Ivanov
> Fix For: 2.x Future
>
>
> When you setup JPA in Forge 1.x you get :
> {code}
> <property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>
> {code}
> In Forge 2.Beta instead of {{drop-and-create}} you get only {{create}} :
> {code}
> <property name="javax.persistence.schema-generation.database.action" value="create"/>
> {code}
> Instead you should have
> {code}
> <property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>
> {code}
> And by the way, why not generating the DDL script as well ? You could have :
> {code}
> <property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>
> <property name="javax.persistence.schema-generation.scripts.action" value="drop-and-create"/>
> <property name="javax.persistence.schema-generation.scripts.create-target" value="<projectName>Create.ddl"/>
> <property name="javax.persistence.schema-generation.scripts.drop-target" value="<projectName>Drop.ddl"/>
> {code}
--
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
12 years, 3 months
[JBoss JIRA] (FORGE-1455) project-add/remove(-managed)-dependency commands are missing
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1455?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III closed FORGE-1455.
-------------------------------------
Fix Version/s: 2.0.0.Final
(was: 2.x Future)
Resolution: Done
Implemented:
{code}
project-add-dependencies org.jboss.foo:bar org.jboss.foo:baz
project-add-managed-dependencies org.jboss.foo:bar
project-remove-dependencies org.jboss.foo:bar
project-remove-managed-dependencies org.jboss.foo:bar org.jboss.foo:cab
{code}
> project-add/remove(-managed)-dependency commands are missing
> ------------------------------------------------------------
>
> Key: FORGE-1455
> URL: https://issues.jboss.org/browse/FORGE-1455
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR1
> Reporter: Antonio Goncalves
> Assignee: Lincoln Baxter III
> Fix For: 2.0.0.Final
>
>
> This command is similar to the following on in Forge 1.x
> {code}
> project add-dependency javax:javaee-api:7.0:provided
> {code}
--
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
12 years, 3 months