added hibernate annotations code snippet