Win a copy of Mastering Non-Functional Requirements this week in the Design forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

db2 database configuration in hibernate  RSS feed

 
Kundukulam Thomas M Mathew
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 547
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!