Hi!
I made a java application using the hibernate framework, with the xml files of hibernate in the src folder. Now, I moved the files in config folder from my project, I changed the SessionFactoryUtil members to:
private static File f = new File("config/hibernate.cfg.xml");
private static SessionFactory sessionFactory = new Configuration().configure(f).buildSessionFactory();
And in the hibernate.cfg.xml I changed themappin resource to config/entities.hbm.xml
And now I have an exception:
org.hibernate.MappingNotFoundException: resource: config/entities.hbm.xml not found
Do you know a workaround?