[forge-issues] [JBoss JIRA] (FORGE-1022) Forge 1.0.5 Faces Scaffold vs 1.3.2 Faces Scaffold

Burr Sutter (JIRA) jira-events at lists.jboss.org
Fri Jul 19 13:00:26 EDT 2013


    [ https://issues.jboss.org/browse/FORGE-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791063#comment-12791063 ] 

Burr Sutter commented on FORGE-1022:
------------------------------------

The commands:
@/* Clear the screen */;
clear;

@/* Create a new project in the current directory */;
new-project;

@/* This means less typing. If a script is automated, or is not meant to be interactive, use this command */;
set ACCEPT_DEFAULTS true;

@/* Install the hibernate-tools plug-in which supports DB Rev Eng */;
forge install-plugin hibernate-tools;

@/* Turn our Java project into a JPA project */;
persistence setup --provider HIBERNATE --container JBOSS_AS7 ;

@/* Reverse Engineer the Sakila DB */;
generate-entities configure-settings --entityPackage model --driver org.h2.Driver --pathToDriver /Users/burr/gettingstarted/sakila-h2/h2-1.3.161.jar --url jdbc:h2:tcp://localhost/sakila --user sa --dialect org.hibernate.dialect.H2Dialect;

scaffold setup --scaffoldType faces;

scaffold from-entity model.* --overwrite;

                
> Forge 1.0.5 Faces Scaffold vs 1.3.2 Faces Scaffold
> --------------------------------------------------
>
>                 Key: FORGE-1022
>                 URL: https://issues.jboss.org/browse/FORGE-1022
>             Project: Forge
>          Issue Type: Bug
>            Reporter: Burr Sutter
>         Attachments: StaffBean.java, StaffBean.java, StoreBean.java
>
>
> The 1.3.2 scaffold generates code that is different from 1.0.5 and it produces an error message in JBDS - basically due to the bi-directional relationship between Staff & Store in the Sakila database

--
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