DB2Driver.getType() called, but doesn't exist
---------------------------------------------

         Key: IBATIS-88
         URL: http://issues.apache.org/jira/browse/IBATIS-88
     Project: iBatis for Java
        Type: Bug
  Components: SQL Maps  
 Environment: Windows XP, DB2 UDB on NT
    Reporter: Sylvain Huppe


I connect to a DB2 database on NT through a gateway ou through JDBC directly. 
The drivers that I use are COM.ibm.db2.jdbc.net.DB2Driver or 
COM.ibm.db2.jdbc.app.DB2Driver. The connection works in both cases.

When I try to do a sqlMap.queryForList I get the following exception:

java.lang.AbstractMethodError: COM.ibm.db2.jdbc.net.DB2ResultSetTrace.getType()I
        at 
com.ibatis.sqlmap.engine.execution.SqlExecutor.handleResults(SqlExecutor.java:263)
        at 
com.ibatis.sqlmap.engine.execution.SqlExecutor.executeQuery(SqlExecutor.java:127)
        at 
com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.sqlExecuteQuery(GeneralStatement.java:174)
        at 
com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:142)
        at 
com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForList(GeneralStatement.java:99)
        at 
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:341)
        at 
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:326)
        at 
com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:77)
        at 
com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:54)
        at com.axacanada.conversion.Conversion.main(Conversion.java:62)
Exception in thread "main" 

Is there a problem with the drivers or is it the way that iBatis tries to get 
the result ?

Thank you.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to