• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

net. sf. hibernate. MappingException

 
Venkat dasari
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to generate POJOs using hbm2java. I downloaded the hibernate extensions package and after setting the appropriate class path, I am trying to execute the hbm2java file giving the mapping file as input. When I do that it throws me net. sf. hibernate. MappingExpcetion. I looked into the downloaded jar file and the source of the file. But it is not showing that particular file in the package. Can someon help me out in downloading the net.sf.* package. I tried searching google but in vain. I am trying from the past so many days. Any help would be appreciated.

Thanks in advance,
Venkat Dasari
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using version 2 or version 3 of Hibernate? Version 2 has the net.sf.* package name, version 3 all packeages start org.hibernate.
 
Venkat dasari
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a Lot!! I solved the problem.

Venkat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic