[forge-issues] [JBoss JIRA] (FORGE-404) Cannot scaffold for entities with DATE fields
Lincoln Baxter III (Closed) (JIRA)
jira-events at lists.jboss.org
Fri Dec 16 19:28:09 EST 2011
[ https://issues.jboss.org/browse/FORGE-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lincoln Baxter III closed FORGE-404.
------------------------------------
Verified
> Cannot scaffold for entities with DATE fields
> ---------------------------------------------
>
> Key: FORGE-404
> URL: https://issues.jboss.org/browse/FORGE-404
> Project: Forge
> Issue Type: Bug
> Components: Scaffold
> Affects Versions: 1.0.0.Beta3
> Reporter: Lincoln Baxter III
> Assignee: Richard Kennard
> Fix For: 1.0.0.Beta4
>
>
> {code}
> new-project --named example --topLevelPackage com.e
> ls
> cat pom.xml
> scaffold setup
> cat pom.xml
> ls
> persistence setup --provider HIBERNATE --container JBOSS_AS7
> ls
> entity --named Customer
> field string --named FirstName
> field string --named lastName
> field temporal --type DATE --named birthdate
> entity --named Profile
> cd ../Customer.jav
> field string --named bio
> cd ../Customer.java
> field oneToOne --named profile --fieldType com.e.domain.Profile.java --inverseFieldName customer
> cd ../Profile.java
> ls
> ls customer::Customer
> set VERBOSE true
> scaffold from-entity com.e.domain.*{code}
> Boom. Once you've removed the DATE field from Customer, scaffolding works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the forge-issues
mailing list