Hi everybody. First of all, I beg you pardon if my English isn't very good, and thank you for helping me.
I'm trying to mapping a single class and a table, so in order to do this I wrote the following hibernate.cfg.xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
      "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
      "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
    <session-factory>
      
      <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
        <property name="connection.url">jdbc:mysql://localhost:3306/taxis</property>
       <property name="connection.username">root</property>
        <property name="connection.password">fryGUY538</property>
        <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
        
        <!-- mapping files -->
   <mapping resource="Ni103_grid.hbm.xml"/>
        
    </session-factory>
</hibernate-configuration>
I've written "connection.driver_class" instead of "hibernate.connection.driver class" because of I've read a post in which the problem was this, but it doesn't work for me.
Anyway, I try to run my small aplication in Eclipse and I get the following error message:
 No connection properties specified - the user must supply JDBC connections
Exception in thread "main" org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
	at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)
	at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)
	at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:378)
	at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:110)
	at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1881)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1174)
	at Principal.getSessionFactory(Principal.java:28)
	at Gestor.main(Gestor.java:17)
I think that I have got every thing I need in my classpath, and my jdbc driver works for non-hibernate applications, so I'm a bit desperate.
I would appreciate your help.