-->
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.  [ 2 posts ] 
Author Message
 Post subject: DB2Dialect Exception
PostPosted: Tue Apr 26, 2005 5:05 pm 
Newbie

Joined: Tue Apr 26, 2005 4:56 pm
Posts: 2
Location: Jacksonville
I am getting the following error. Can anyone help me ?
I am using DB2 database.
in hibernet.properties file:
hibernate.connection.driver_class=COM.ibm.db2.jdbc.app.DB2Driver
hibernate.connection.url=jdbc:db2:xxx
hibernate.connection.username=xxx
hibernate.connection.password=xxx
hibernate.dialect=cirrus.hibernate.sql.DB2Dialect


Here is the log:
------------------
INFO: Hibernate 3.0.1
Apr 26, 2005 4:43:54 PM org.hibernate.cfg.Environment <clinit>
INFO: loaded properties from resource hibernate.properties: {hibernate.connectio
n.username=dcsdb, hibernate.connection.password=****, hibernate.cglib.use_reflec
tion_optimizer=true, hibernate.dialect=cirrus.hibernate.sql.DB2Dialect, hibernat
e.connection.url=jdbc:db2:dcsdb, hibernate.connection.driver_class=COM.ibm.db2.j
dbc.app.DB2Driver}
Apr 26, 2005 4:43:55 PM org.hibernate.cfg.Environment <clinit>
INFO: using CGLIB reflection optimizer
Apr 26, 2005 4:43:55 PM org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
cfg is -->org.hibernate.cfg.Configuration@1908ca1
Apr 26, 2005 4:43:55 PM org.hibernate.cfg.Configuration configure
INFO: configuring from resource: /hibernate.cfg.xml
Apr 26, 2005 4:43:55 PM org.hibernate.cfg.Configuration getConfigurationInputStr
eam
INFO: Configuration resource: /hibernate.cfg.xml
Apr 26, 2005 4:43:55 PM org.hibernate.cfg.Configuration addResource
INFO: Mapping resource: Item.hbm.xml
Apr 26, 2005 4:43:56 PM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommo
nValues
INFO: Mapping class: com.jnj.visus.dist.autopack.client.ReturnAddress -> SL_INT_
PUR_RET_ADR
Apr 26, 2005 4:43:56 PM org.hibernate.cfg.Configuration doConfigure
INFO: Configured SessionFactory: null
Apr 26, 2005 4:43:56 PM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing extends queue
Apr 26, 2005 4:43:56 PM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing collection mappings
Apr 26, 2005 4:43:56 PM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing association property references
Apr 26, 2005 4:43:56 PM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing foreign key constraints
Initial SessionFactory creation failed.org.hibernate.HibernateException: Dialect
class not found: cirrus.hibernate.sql.DB2Dialect
Exception in thread "main" java.lang.ExceptionInInitializerError

thanks,
SR

_________________
SR


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 02, 2005 5:50 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
cirrus was a very old packaging.
Try org.hibernate.dialect.DB2Dialect

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.