soluction for spring-hibernate soluction using annotations