I suppose the new programming model is more simple. It might be:
public @ResponseMessage User save(User user) throws Exception{
return userRepository.save(user);
}
Then the post...
Type: Posts; User: jmars; Keyword(s):
I suppose the new programming model is more simple. It might be:
public @ResponseMessage User save(User user) throws Exception{
return userRepository.save(user);
}
Then the post...
Hi,
I've coded a exception handler in my project to format all json response. like this:
public @ResponseBody ResponseMessage save(final User user){
ResponseMessage rm =...