-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Hibernate - Tomcat Dialect problem
PostPosted: Tue Dec 05, 2006 9:05 am 
Newbie

Joined: Tue Dec 05, 2006 8:56 am
Posts: 2
I am using strutsrecipes hibernate plugin and using tomcat 5.5 as my webserver.
I am getting the following error when i try to run a struts hibernate application.
It gives the following error
error
org.hibernate.HibernateException: Dialect class not found: org.hibernate.dialect.MySqlDialect
at org.hibernate.dialect.Dialect.getDialect(Dialect.java:521)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:109)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1509)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1054)

The dialect is in the hibernate3.jar and it is in the class path (web-inf/lib)but still it gives an error.
Are there extra jars needed for configuration of hibernate?Please let me know.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 05, 2006 10:15 am 
Newbie

Joined: Tue Dec 05, 2006 9:35 am
Posts: 2
Have you checked the texts case, try MySQLDialect.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 06, 2006 12:25 am 
Newbie

Joined: Tue Dec 05, 2006 8:56 am
Posts: 2
Hi,
You really have a good EYE... I never thought the case would have given a pbm.Thanx a ton.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.