Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:3.0
Name and version of the database you are using:mssqlserver8
Hi ,
Iam a newbie trying to learn hibernate..
I am using eclipse ide 3.1 (wtp)
with eclipse jboss plugin :1.5.0
jdk 1.4.2_10
Hibernate tools were installed in eclipse as a part of jboss-eclipse ide..
I started a sample Java project and followed the eclipse help tutorial in using hibernate tools ..
I created
1)hibernate.cfg.xml using the wizzard.
2)hibernate console configuration
3)reveng.xml file
4)Hibernate code Generation..(In this I selected the hibernate.reveng.xml defined in step 3)
when i run the Hibernate code Generation ,Iam having Null Pointer Exception.
I dont have access to view the DB schema..so even though the tables have primary key,Iam getting warnings like the tables doesnt have primary key.Can this be a problem?
In hibernate-reveng.xml i have explictly specified the priamry key in Tables&Columns section.
I think iam doing sth wrong..Can any one pls help me..
Thnx.