[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate JBoss 5 javax.persistence.PersistenceException

jaikiran do-not-reply at jboss.com
Mon Oct 13 03:00:45 EDT 2008


anonymous wrote : Caused by: java.lang.ClassCastException: org.hibernate.dialect.PostgreSQLDialect cannot be cast to org.hibernate.dialect.Dialect


Are you packaging any hibernate jars in your application? If yes, then try removing them. JBoss already ships with hibernate jars and this looks like a classloader issue.
 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181748#4181748

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181748



More information about the jboss-user mailing list