File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes db2 database configuration in hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "db2 database configuration in hibernate" Watch "db2 database configuration in hibernate" New topic
Author

db2 database configuration in hibernate

Kundukulam Thomas M Mathew
Greenhorn

Joined: May 16, 2006
Posts: 1
Initial SessionFactory creation failed.java.lang.AbstractMethodError: COM.ibm.db
2.jdbc.app.DB2DatabaseMetaData.supportsResultSetType(I)Z
Exception in thread "main" java.lang.ExceptionInInitializerError
at de.gloegl.road2hibernate.HibernateUtil.<clinit>(HibernateUtil.java:17
)
at de.gloegl.road2hibernate.EventManager.store(EventManager.java:50)
at de.gloegl.road2hibernate.EventManager.main(EventManager.java:20)
Caused by: java.lang.AbstractMethodError: COM.ibm.db2.jdbc.app.DB2DatabaseMetaDa
ta.supportsResultSetType(I)Z
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:
121)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1497
)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav
a:1041)
at de.gloegl.road2hibernate.HibernateUtil.<clinit>(HibernateUtil.java:13
)
... 2 more
pascal betz
Ranch Hand

Joined: Jun 19, 2001
Posts: 547
impressing.... do just want to show us some stacktrace ? and what do you want ? what did you do ? config files ?, environment ?, whats your question ? please ?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: db2 database configuration in hibernate
 
Similar Threads
problems with CGLIB and hibernate
Hibernate "Exception in thread "main" java.lang.ExceptionInInitializerError" problem....
java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from
Hibernate: ClassDefNotFoundError
NoClassDefFoundError net/sf/cglib/KeyFactory