3 Replies Latest reply on Oct 3, 2005 2:17 PM by Guilherme Melo e Maranhão

    org.hibernate.HibernateException: Could not instantiate dial

    Guilherme Melo e Maranhão Newbie

      Hi everyone,

      I'm accessing the method

      Persistence.createEntityManagerFactory("ds");

      and got the message:

      javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not instantiate dialect class

      I don't know what's happening! The jar hibernate3.jar is in my classpath. It contains the dialect classes! It's every thing all right with my persistence.xml too.

      Anyone knows what's wrong?

      Thanks, Guilherme