-->
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.  [ 1 post ] 
Author Message
 Post subject: A problem with my first Hibernate test !!!
PostPosted: Fri Sep 25, 2015 8:12 pm 
Newbie

Joined: Fri Sep 25, 2015 8:03 pm
Posts: 1
Hi Dears !
I'm an Hibernate beginner user, I created a very simple application to test it !
But I get this error in the console :

Code:
Initial SessionFactory creation failed.org.hibernate.HibernateException: Dialect class not found: org.openmeetings.app.hibernate.utils.MySQL5MyISAMDialect
Exception in thread "main" java.lang.ExceptionInInitializerError
   at util.HibernateUtil.buildSessionFactory(HibernateUtil.java:20)
   at util.HibernateUtil.<clinit>(HibernateUtil.java:10)
   at DAO.services.addProduit(services.java:9)
   at test.main(test.java:11)
Caused by: org.hibernate.HibernateException: Dialect class not found: org.openmeetings.app.hibernate.utils.MySQL5MyISAMDialect
   at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:81)
   at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:42)
   at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:422)
   at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:128)
   at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
   at util.HibernateUtil.buildSessionFactory(HibernateUtil.java:15)
   ... 3 more




What do you think may be the source of this error ?

Thank you :)


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

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.