Working Spring+Rest+Hibernate Persistance Layer Code