I'm trying to make a program that makes exact clones of tables. The only
problem is that I can't find a way to figure out if a column is auto
incremented. There is a method isAutoincrement in ResultSetMetaData, but
because the method's definition says something about auto increment
fields being read-only and that's not the case witn MySQL, the mm driver
chooses to return false even if the field is auto incremented. Well,
that's witty but how DO I find out which are auto increment fields and
which aren't?