Technical Tips, Tricks and Articles

Hibernate Dialect Error – Hibernate 3.x

leave a comment »

If you are using hibernate 3.x and you are getting Dialect error for using this mySql Dialect

net.sf.hibernate.dialect.MySQLDialect

Then change the above line to

org.hibernate.dialect.MySQLDialect

to solve the problem. Actually, with the release of Hibernate 3.x the package net.sf is no longer exist and you have to use the Dialect which has been shifted to the new package.

If you are using Hibernate 3.x with spring then remember to use Hibernate3 package for hibernate objects. The package “hibernate” is for 2.x which use the old package hierarchy.

Written by ..alee

August 30, 2007 at 7:00 pm

Posted in Hibernate, Program

Leave a Reply