Interface to assign ID with a query after insert (like OracleDialect)