[JBoss JIRA] (FORGE-2101) jpa-new-field command should have a --not-nullable attribute
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2101?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-2101:
-----------------------------------
Summary: jpa-new-field command should have a --not-nullable attribute (was: jpa-new-field command should have a --nullable attribute)
> jpa-new-field command should have a --not-nullable attribute
> ------------------------------------------------------------
>
> Key: FORGE-2101
> URL: https://issues.jboss.org/browse/FORGE-2101
> Project: Forge
> Issue Type: Sub-task
> Components: Java EE
> Affects Versions: 2.12.1.Final
> Reporter: Antonio Goncalves
> Assignee: Antonio Goncalves
> Fix For: 2.12.2.Final
>
>
> It would be good to be able to set the nullable attribute of a field on an entity. If you do :
> {code}
> jpa-new-field --named title --nullable true;
> {code}
> You will get :
> {code}
> @Column(nullable = true)
> private String title;
> {code}
> That's important for DDL generation
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 2 months
[JBoss JIRA] (FORGE-2099) scaffold-generate command should have a --targetPackage attribute
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2099?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-2099:
-----------------------------------
Fix Version/s: 2.x Future
(was: 2.12.2.Final)
> scaffold-generate command should have a --targetPackage attribute
> -----------------------------------------------------------------
>
> Key: FORGE-2099
> URL: https://issues.jboss.org/browse/FORGE-2099
> Project: Forge
> Issue Type: Sub-task
> Components: Scaffold
> Affects Versions: 2.12.1.Final
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> Today, the {{scaffold-generate}} command has the following attributes :
> {code}
> scaffold-generate --provider --webRoot --targets --pageTemplate
> {code}
> {{webRoot}} is to change the default directory of where the pages are generated. It would be good to have a {{targetPackage}} attribute as well, to customize the default package of the generated JSF Beans
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 2 months
[JBoss JIRA] (FORGE-2101) jpa-new-field command should have a --nullable attribute
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2101?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-2101:
-----------------------------------
Status: Closed (was: Pull Request Sent)
Assignee: Antonio Goncalves
Fix Version/s: 2.12.2.Final
(was: 2.x Future)
Resolution: Done
> jpa-new-field command should have a --nullable attribute
> --------------------------------------------------------
>
> Key: FORGE-2101
> URL: https://issues.jboss.org/browse/FORGE-2101
> Project: Forge
> Issue Type: Sub-task
> Components: Java EE
> Affects Versions: 2.12.1.Final
> Reporter: Antonio Goncalves
> Assignee: Antonio Goncalves
> Fix For: 2.12.2.Final
>
>
> It would be good to be able to set the nullable attribute of a field on an entity. If you do :
> {code}
> jpa-new-field --named title --nullable true;
> {code}
> You will get :
> {code}
> @Column(nullable = true)
> private String title;
> {code}
> That's important for DDL generation
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 2 months
[JBoss JIRA] (FORGE-2120) [Developing Forge] Showcase command execution listeners
by Ivan St. Ivanov (JIRA)
[ https://issues.jboss.org/browse/FORGE-2120?page=com.atlassian.jira.plugin... ]
Ivan St. Ivanov updated FORGE-2120:
-----------------------------------
Summary: [Developing Forge] Showcase command execution listeners (was: [Developing Forge] Develop Logging addon)
Description:
Enhance the Envers addon to be able to automatically audit newly created JPA entities
- Setup command should save a flag in the project config whether the user wants automatic auditing of new JPA entities
- Add a command execution listener that will listen for newly created JPA entities
Attach source code
was:
Develop a logging addon
- Create new Forge addon
- Showcase the usage of forge listeners - add java.util.logging.Logger private variable upon creating a new class
Attach source code
> [Developing Forge] Showcase command execution listeners
> -------------------------------------------------------
>
> Key: FORGE-2120
> URL: https://issues.jboss.org/browse/FORGE-2120
> Project: Forge
> Issue Type: Sub-task
> Components: Documentation
> Reporter: Ivan St. Ivanov
> Assignee: Ivan St. Ivanov
>
> Enhance the Envers addon to be able to automatically audit newly created JPA entities
> - Setup command should save a flag in the project config whether the user wants automatic auditing of new JPA entities
> - Add a command execution listener that will listen for newly created JPA entities
> Attach source code
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 2 months