Technical Tips, Tricks and Articles

Hibernate Dialect Error – Hibernate 3.x

with one 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

One Response

Subscribe to comments with RSS.

  1. Oh men, You saved my life. Thanks a lot

    fernando

    September 30, 2012 at 10:44 pm


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: