-->
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.  [ 1 post ] 
Author Message
 Post subject: I am trying to run the sameple on this web: hibernate_intro
PostPosted: Tue Mar 01, 2005 5:12 pm 
Newbie

Joined: Wed Feb 23, 2005 11:56 am
Posts: 4
When I run it, ant run-tests
i met the following problem:

Testcase: testSavePlayer took 1.515 sec
Caused an ERROR
COM.ibm.db2.jdbc.app.DB2DatabaseMetaData.supportsResultSetType(I)Z
java.lang.AbstractMethodError: COM.ibm.db2.jdbc.app.DB2DatabaseMetaData.supportsResultSetType(I)Z
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:75)
at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1119)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:748)
at example.persistence.HibernateSession.currentSession(HibernateSession.java:34)
at example.persistence.BaseDAO.storeObj(BaseDAO.java:140)
at example.persistence.PlayerDAO.savePlayer(PlayerDAO.java:16)
at example.test.PlayerDAOTest.testSavePlayer(PlayerDAOTest.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Testcase: testSelectPlayers took 0.031 sec
Caused an ERROR
COM.ibm.db2.jdbc.app.DB2DatabaseMetaData.supportsResultSetType(I)Z
java.lang.AbstractMethodError: COM.ibm.db2.jdbc.app.DB2DatabaseMetaData.supportsResultSetType(I)Z
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:75)
at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1119)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:748)
at example.persistence.HibernateSession.currentSession(HibernateSession.java:34)
at example.persistence.BaseDAO.retrieveObjs(BaseDAO.java:114)
at example.persistence.PlayerDAO.searchPlayers(PlayerDAO.java:43)
at example.test.PlayerDAOTest.testSelectPlayers(PlayerDAOTest.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

how should i fix this problem.
Thanks in advance
Kelly


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

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.