I am using Datatools 1.6.2 (although this didn't work in 1.6.1 either).
When I select DB2 for Linux, UNIX and Windows from the Connection
Profile Types and then open the "New Driver Definition" dialog, I only
see the following two options:
IBM Data Server Driver for JDBC V9.1
Other Driver V9.1
The problem is that I am using an 8.x driver and nothing shows up for
previous versions of DB2.
I get this error when I attempt to test the connection:
java.lang.AbstractMethodError: com.ibm.db2.jcc.a.f.getJDBCMajorVersion()I
at
org.eclipse.datatools.enablement.ibm.db2.internal.luw.JDBCLUWJDBCConnection.initVersions(JDBCLUWJDBCConnection.java:59)
at
org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:112)
at
org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:53)
at
org.eclipse.datatools.enablement.ibm.db2.internal.luw.JDBCLUWConnectionFactory.createConnection(JDBCLUWConnectionFactory.java:27)
at
org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
at
org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:355)
at
org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)
at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
I can actually connect if I use the Generic JDBC connection profile type
but that gives me another issue, plus I can't get any information when
my code accesses the connection profile because it's generic.
Am I doing something wrong? Are previous versions of DB2 not supported
any more?