modified in order to make the GET resource work for a specific id. Otherwise following exception: org.hibernate.TypeMismatchException: Provided id of the wrong type for class com.airhacks.workshops.business.registrations.entity.Registration. Expected: class java.lang.Long, got class java.lang.Integer