wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes org.hibernate.dialect.MySQLDialect cannot be cast to org.hibernate.dialect.Diale ct Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "org.hibernate.dialect.MySQLDialect cannot be cast to org.hibernate.dialect.Diale ct" Watch "org.hibernate.dialect.MySQLDialect cannot be cast to org.hibernate.dialect.Diale ct" New topic
Author

org.hibernate.dialect.MySQLDialect cannot be cast to org.hibernate.dialect.Diale ct

rachit agr
Greenhorn

Joined: Sep 14, 2011
Posts: 5
I an new to Hibernate.

I am developing a web application using hibernate.
When i am running my application as a standalone its running fine.
But when i am deploying it on JBoss 5 and running it i am getting the following exception




please help me....
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: org.hibernate.dialect.MySQLDialect cannot be cast to org.hibernate.dialect.Diale ct