wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes hibernate exception 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 exception" Watch "hibernate exception" New topic
Author

hibernate exception

Ashimashi Kabashi
Ranch Hand

Joined: Sep 11, 2006
Posts: 84
Howdy Ranchers

I am getting the following exception when I try to create a Hibernate Session


This is where I am using it


and this is my hibernate.cfg.xml file


I cant seem to figure out whats wrong here.
Ashimashi Kabashi
Ranch Hand

Joined: Sep 11, 2006
Posts: 84
ok I got it..
this was missing in hibernate.cfg.xml

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: hibernate exception
 
Similar Threads
Cannot insert record into Database!
HIBERNATE hql.ast.QuerySyntaxException: (table name) is not mapped
Hibernate: Column not found. org.hibernate.exception.GenericJDBCException
Parsing Exception - Hibernate
NullPointerException in hibernate