Ver Mensaje Individual
  #4 (permalink)  
Antiguo 11/02/2011, 05:15
Windu
 
Fecha de Ingreso: febrero-2011
Ubicación: España
Mensajes: 51
Antigüedad: 13 años, 2 meses
Puntos: 1
Respuesta: Problema con Hibernate, no encuentra hibernate.cfg.xml

Por lo que veo es un problema bastante común pero en casi ninguna parte está la solución correcta. En este foro, por ejemplo, hablan finalmente de colocarlo en /src/java, pero ya he probado ahí y tampoco funciona.

Cita:
Thanks for the reply, Mark!

I just wanted to tell you that I solved it. The directory structure of the module where I keep the rest of my Hibernate files had a /src/java directory and that's where the cfg.xml file needed to be to make it work. (I still don't know where in NetBeans it is set that the config. file had to be right there but I have a shortage of time so I'd better just move on now.)

Thanks and have a nice day!
http://www.coderanch.com/t/218962/ORM/java/Hard-configurate-Hibernate-NetBeans

Un saludo.