exa-IDEAS
Community Manager
Community Manager
Status: Migrated

The JDBC driver supports the method prepareStatement(String sql, int autoGeneratedKeys) if the second parameter is set to Statement.NO_GENERATED_KEYS.

Proposal
Support key generation using preparedStatements via JDBC

Current solution

EXASolution provides auto-generated keys via IDENTITY columns. You can specify those in the table DDL or an ALTER TABLE (column) statement:

CREATE TABLE MYTABLE (ID int identity,  COL2 varchar(200));

For further information on IDENTITIY columns please refer to the manual section 2.3.6.

 

Migrated from IDEA-20 by @exa-Franz 

https://www.exasol.com/support/browse/IDEA-20

 

1 Comment
Status changed to: Migrated
exa-IDEAS
Community Manager
Community Manager