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.  [ 3 posts ] 
Author Message
 Post subject: Hibernate 3.1 released.... :(
PostPosted: Fri Dec 16, 2005 5:32 am 
Newbie

Joined: Fri Dec 16, 2005 5:14 am
Posts: 6
Hibernate 3.0.5 works but no the newer version, something has changed??

Hibernate version:3.1

Mapping documents:

hibernate.connection.driver_class=com.mysql.jdbc.Driver
hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
hibernate.transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory



Full stack trace of any exception that occurs:
org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)
at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)
at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:378)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:110)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)


Name and version of the database you are using:My SQL


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 16, 2005 8:28 am 
Newbie

Joined: Thu Oct 20, 2005 7:48 am
Posts: 19
i dont think it should create problem.
i think there should be problem in your hibernate.properties file.
u just check the properties and put it bin directory of your application server.
thanks...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 16, 2005 12:09 pm 
Newbie

Joined: Fri Dec 16, 2005 5:14 am
Posts: 6
my properties file lokks like that:

hibernate.connection.driver_class=com.mysql.jdbc.Driver
hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
hibernate.transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory


and it works with hibernate3.0.5


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

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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.