File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Newbie got stuck in Hibernate "Hello World"

 
Tirthankar Mukherjee
Ranch Hand
Posts: 51
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Dept.java


FirstExample.java


hibernate.cfg.xml


Dept.hbm.xml


Eclipse console output


Detp table


I cant get this code working. Please Help. Thanks in Advance
 
Tirthankar Mukherjee
Ranch Hand
Posts: 51
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nway solved it ...

replaced cglib-2.2.jar with cglib-2.1.3.jar and it worked ...

If any one knows why .. please let me know ...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic