Hi,
i want to get back a auto generated key from v8.1 DB2 express.
So i used a JDBC 3.0 feature:
s.execute(sql, Statement.RETURN_GENERATED_KEYS);
ResultSet generatedKeysRes = s.getGeneratedKeys();
i got the error:
com.ibm.db2.jcc.c.SqlException: JDBC 3 method called - not yet supported
But an IBM document says that:
supportsGetGeneratedKeys | Yes | No | No
YES: DB2 Universal JDBC Driver support
NO: JDBC/SQLJ 2.0 Driver for OS/390 support
NO: DB2 JDBC Type 2 Driver support
http://publib.boulder.ibm.com/infoce...d/rjvjdapi.htm
So is the Type4 db2jcc.jar the same as the Type2 Driver. And how can i find the DB2 Universal JDBC Driver? Is it db2java.jar ?
Thanks for infos.