Two Laptop Bag
The moose likes Object Relational Mapping and the fly likes Transformation to hibernate Annotation Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "Transformation to hibernate Annotation" Watch "Transformation to hibernate Annotation" New topic
Author

Transformation to hibernate Annotation

Renjith Mohan
Ranch Hand

Joined: Nov 28, 2008
Posts: 65


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

Joined: Nov 28, 2008
Posts: 65

Sorry friends, the issue has been solved !!!

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transformation to hibernate Annotation
 
Similar Threads
org.hibernate.hql.ast.QuerySyntaxException: INFORMATION_SCHEMA.SYSTEM_ALIASES is not mapped.
Many-To-One mapping in hibernate using annotations
Table not mapped.
1:M lost getting lists
Problem with select query in hibernate