executeUpdateAndRetrieveKeys

Format the given expression to a SQL string with its execution arguments, execute it via PreparedStatement.executeUpdate, then return the effected row count along with the generated keys.

Since

2.7

Return

a Pair combines the effected row count and the generated keys.

Parameters

expression

the SQL expression to be executed.