File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Hibernate example error message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate example error message" Watch "Hibernate example error message" New topic

Hibernate example error message

Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238

I am trying following hibernate example from link

It is giving error as given below

My code looks like file looks like this looks like looks like

hibernmate.cfg file looks like

How can i resolve this issue. Any ideas, suggestions, resources, links highly appreciated. Thanks in advance
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

You forgot to declare the mappings in hibernate.cfg.xml

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238
Thank you very much.
subject: Hibernate example error message
jQuery in Action, 3rd edition