Thanks for you quick reply. Never seen that method before. It's working in our
code already.
Ronald.
On Tue Jul 19 13:02:42 CEST 2005 Vestergaard Dann <Da...@danfoss.com> wrote:
Hi Ronald
Use the isAutoIncrement(int Column).
on the resultset call the rs.getMetaData().isAutoIncrement(1)..
(I am using versino 3.1.8..)
Dann
-----Original Message-----
From: Ronald Klop [mailto:rona...@base.nl]
Sent: 19. juli 2005 12:47
To: ja...@lists.mysql.com
Subject: How to detect if a key is auto_increment with 3.1.10.
Hello,
With 3.0.x drivers there was an 'auto_increment' String in the 'remark'
field of DatabaseMetaData.getColumns(...). In 3.1.10 it isn't there
anymore.
What is the current way of finding out if a column is auto_increment?