How to run jar application that use hibernate?

hi all,

i have problem here…i develop stand alone application. I use java + mysql 5 + hibernate 3 for developing this system. i use hibernate as the relational persistance and query service for Java. The problem is, when i want to run the jar application (with hibernate)…the application doesn’t run and cannot communicate with mysql…however, when i try to run the application without hibernate (which application communicate directly via jdbc), the application run smoothly and can communicate with the databse. So, i assume the prob is from the hibernate…how can i make the jar to include the hibernate together, so it can run ok…pls help me! thanks in adv… :smiley: