XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 1.2.4.RELEASE
    • Fix Version/s: None
    • Component/s: WEB MVC
    • Labels:
    • Environment:
      Fedora Release 19
      java version "1.7.0_25"
      OpenJDK Runtime Environment (fedora-2.3.12.3.fc19-i386)
      OpenJDK Server VM (build 23.7-b01, mixed mode)

      Postgresql 9

      Description

      When I create an entity with a String as a key (so I can use a UUID) the entity is created properly but when I create a JSON controller the key type in the aspectj source generated by Roo is a Long.

      The regular scaffolding works just fine, it handles the String as the ID no problem.

      Here is the aj signature for the generated controller:
      @RequestMapping(value = "/

      {id_}

      ", method = RequestMethod.GET, headers = "Accept=application/json")
      @ResponseBody
      public ResponseEntity<String> SiteJson.showJson(@PathVariable("id_") Long id_)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mbaranski Mike Baranski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: