File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Newbie got stuck in Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Newbie got stuck in Hibernate "Hello World"" Watch "Newbie got stuck in Hibernate "Hello World"" New topic
Author

Newbie got stuck in Hibernate "Hello World"

Tirthankar Mukherjee
Ranch Hand

Joined: Apr 08, 2006
Posts: 51

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

Joined: Apr 08, 2006
Posts: 51
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 ...
 
 
subject: Newbie got stuck in Hibernate "Hello World"