Resolution: Won't Fix
Affects Version/s: 1.2.4.RELEASE
Fix Version/s: None
Component/s: WEB MVC
Environment:Fedora Release 19
java version "1.7.0_25"
OpenJDK Runtime Environment (fedora-188.8.131.52.fc19-i386)
OpenJDK Server VM (build 23.7-b01, mixed mode)
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 = "/
", method = RequestMethod.GET, headers = "Accept=application/json")
public ResponseEntity<String> SiteJson.showJson(@PathVariable("id_") Long id_)