Hi All,
Iam getting the following error when building sessionfactory.
12:02:26,282 ERROR [Configuration] Could not configure datastore from file:
hibernate.cfg.xml
java.net.MalformedURLException: hibernate.cfg.xml (The system cannot find the file
specified)
Iam using hibernate2.0 and my hibernate.cf.xml is
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD
2.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd">
<hibernate-configuration>
<session-factory>
root
cpt
jdbc:mysql://localhost:3306/cenvat
com.mysql.jdbc.Driver
net.sf.hibernate.dialect.MySQLDialect
true
<!-- Mapping files -->
</session-factory>
</hibernate-configuration>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968286#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...