Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-685

scaffold from-entity conflicting type

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.1.Final
    • 1.1.0.Final
    • Scaffold
    • None

    Description

      When I issue the command
      scaffold from-entity ~.model.* --overwrite
      the generated entity bean has conflicting type for id:short and methods that have it as an argument id:long. See the following two snippets.

      Snippet 1
      /*

      • Support creating and retrieving Actor entities
        */

      private Short id;

      Snippet 2

      public Actor findById(Long id)

      { return this.entityManager.find(Actor.class, id); }

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            brieweb Brian Lavender (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: