supportsGetGeneratedKeys()

Syntax:

boolean supportsGetGeneratedKeys()
                                 throws SQLException

Description:

Retrieves whether auto-generated keys can be retrieved after a statement has been executed

Returns:

true if auto-generated keys can be retrieved after a statement has executed; false otherwise

If true is returned, the JDBC driver must support the returning of auto-generated keys for at least SQL INSERT statements

Throws:

SQLException - if a database access error occurs