ResultSetMetaData.isAutoIncrement() Question
843854Apr 3 2002 — edited Apr 5 2002hi all,
When i tried to identify if a field is auto-incrementing, i find that the function:isAutoIncrement works not good.
I've try this table in mysql:
create talbe test (id int NOT��NULL AUTO_INCREMENT primary key);
The function always return false.
I tried it in DB2, it did not work too.
Is it something wrong in my code? Or something wrong in JDBC Driver supplied by 3rd party?
(
mysql JDBC Driver::org.gjt.mm.mysql.Driver
DB2 JDBC Driver:COM.ibm.db2.jdbc.app.DB2Driver
)
thx