[forge-issues] [JBoss JIRA] (FORGE-404) Cannot scaffold for entities with DATE fields

Lincoln Baxter III (Created) (JIRA) jira-events at lists.jboss.org
Wed Dec 14 17:13:09 EST 2011


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