-
Jul 30th, 2012, 01:06 AM
#1
Spring Repository Issue
I created one Person entity with attributes id, name.
and created Personrepository extending CrudRepository, having findByName method.
So if i search by name I'm getting values
But if I'm searching with id, it is giving 500 Internal server error.
Is there any way that I can get 400 or 406 errors instead of 500.
Any ideas please share. Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules