In many of document I found we have to define dialect in hibernate.cfg.xml
to tell hibernate what language we are going to use in or hibernate.On the basis of this hibernate generates respective sql.
<property name="hibernate.conection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.dilect">org.hibernate.dialect.MySQLDilect</property>
More over this could be possible multiple driver for any database provider and also for any driver there could be multiple dialect as per their version.
My point is even when we have already mentioned driver(unique) there and at a time we are single version of jar,then why this is not only sufficient to generate sql.