<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" <hibernate-configuration> <session-factory> com.mysql.jdbc.Driver jdbc:mysql://localhost/Nom_BD root org.hibernate.dialect.MySQLDialect <mapping resource="Etudiant.hbm.xml" /> <mapping resource="Etudiant.hbm" /> </session-factory> </hibernate-configuration>