im neuen für Hibernate analysieren und versuchen, erste Anwendung zu laufen, aber diesen Fehler:Exception in thread "main" org.hibernate.HibernateException: Konnte nicht
„- // Hibernate/Hibernate Konfiguration DTD 3.0 // EN“
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hbm2ddl.auto">update</property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="connection.url">jdbc:mysql://localhost:3306/test</property>
<property name="connection.username">root</property>
<property name="connection.password">prashant</property>
<property name="connection.driver_class"> com.mysql.jdbc.Driver</property>
<mapping resource="employee.hbm.xml"/>
</session-factory>
</hibernate-configuration>
fügen Sie Ihre Hibernate.cfg auf die Frage .. – ProgrammerBoy
das ist cfg-Datei – prashant