db2 « JDBC « JPA Q&A





2. java.lang.AbstractMethodError: COM.ibm.db2.jdbc.app.DB2Datab    forum.hibernate.org

Hi there, I got the error:java.lang.AbstractMethodError: COM.ibm.db2.jdbc.app.DB2DatabaseMetaData.supports ResultSetType(I)Z when trying out hibernate with DB2, my db2 database is 7.2 , is my driver old? the date of the driver is 16/04/2001, if its too old, can someone point to me a place where i can go download the latest db2 driver? cos i tried to find but it seems that the ...

3. Hibernate with HiT JDBC/DB2    forum.hibernate.org

Hibernate version: 2.1 Mapping documents: Code between sessionFactory.openSession() and session.close(): Full stack trace of any exception that occurs: Code: [action] DEBUG [http8080-Processor24] BatcherImpl.getPreparedStatement(241) | preparing statement [action] DEBUG [http8080-Processor24] NullableType.nullSafeSet(46) | binding '23 December 2003 00:00:00' to parameter: 1 [action] DEBUG [http8080-Processor24] JDBCExceptionReporter.logExceptions(36) | SQL Exception java.sql.SQLException: [EXECUTE] Host variable has invalid type: "1" at hit.db2sql.a4.executeCommon([DashoPro-V1.3-013000]) ...

4. hibernate preparedStatement is not working with DB2 v8    forum.hibernate.org

[size=18]We upgraded the DB2 from v7 to v8. Portal is working fine in all places except only one place where we get the below error. Why this ArrayIndexOutOfBoundsException is occurring?[/size] [3/8/07 2:25:04:145 EST] 1473fd75 SystemOut O 2007.03.08 02:25:04 ERROR BOBViewSummaryService com.ebcbs.service.impl.bob.BOBViewSummaryService getDBData : Exception = java.lang.ArrayIndexOutOfBoundsException: 2 [3/8/07 2:25:04:146 EST] 1473fd75 SystemOut O 2007.03.08 02:25:04 ERROR BOBViewSummaryService com.ebcbs.service.impl.bob.BOBViewSummaryService getGroupSummaryDetails : Exception ...