Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transformation to hibernate Annotation

 
Renjith Mohan
Ranch Hand
Posts: 65
Android Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I was using traditional mapping file in hibernate. Now I changed to hibernate annotations. So I created hibernate.cfg.xml and entity class.





But when I query the class, I get an error like :



Did I miss out anything?

Please help me fix it.

Thank you
Renjith
 
Renjith Mohan
Ranch Hand
Posts: 65
Android Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry friends, the issue has been solved !!!

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic