How to find if a column is a "serial" column? - Mailing list pgsql-jdbc

From Dave Bartmess
Subject How to find if a column is a "serial" column?
Date
Msg-id 1071960789.4719.5.camel@localhost
Whole thread Raw
Responses Re: How to find if a column is a "serial" column?  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
I'm trying to write an insert routine, but I want to have the serial
column(s) excluded from the update/insert SQL commands, which I'm
building on the fly.

How do I determine if a column has been declared as a serial, since it
only comes back in getColumns() as java.sql.Types.INTEGER in the
resultset column "DATA_TYPE"?

Thanks!
--
David A. Bartmess
Software Configuration Manager / Sr. Software Developer
eDingo Enterprises
http://edingo.net


pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: [BUGS] Jdbc connection pooling and PG 7.4 consistently fails
Next
From: Kris Jurka
Date:
Subject: Re: How to find if a column is a "serial" column?