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
|