Home  >  Forum  >  Hibernate
Post New Query

hibernate.dialect must be set when no Connection


joined on
May 23,2013
Asked on May 29,2013
Hello friends,

Any clue for below error.

 org.hibernate.HibernateException: hibernate.dialect must be set when no Connection available
at org.hibernate.dialect.resolver.DialectFactory.buildDialect(DialectFactory.java:107)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:138)
at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2163)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2159)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1383)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:954)

joined on
March 16,2013
Replied on May 29,2013

I also got the same error, But i got the solution.
You need to check mysql connector api in your classpath.
Check if there is mysql-connector-java-5.1.17.jar  or any other version in your library.
I think it will solve the error.

Write Answer








Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us