Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to load hibernate.cfg.xml in annotation mode...

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for reading my post
Hibernate version: 3.2

I have problem with loading hibernate.cfg.xml in my application.
here is the code snippet:

when i try to run this code it return


while my directory structure is like:
src folder contains:
-learn_hiber\chapter4
-learn_hiber\hibernate.cfg.xml
-learn_hiber\log4j.properties

the chapter 4 folder contains my annotated classes source code
src is roof folder for all my source codes.
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic