Interface JdbcClient.GeneratedKeys

Enclosing interface:
JdbcClient

public static interface JdbcClient.GeneratedKeys
Configures generated key columns and mapping before execution.

The stage preserves column order. It is single use, is not safe for concurrent use, and performs no JDBC work.

When the operation owns the connection, the update may be committed before a terminal operation finishes reading or mapping the generated keys, checking the expected number of keys, or releasing JDBC resources. A terminal failure therefore does not establish that the update was rolled back and must not be retried automatically. When generated key materialization and the update must be atomic, use a client managed by the registry inside a local transaction and let the failure escape the transaction boundary. A directly created client does not join such a transaction.