annotation for spring and hibernate.