smi.uuid as uuid, smi.message_id as "messageId", smi.expiration_date as "expirationDate", smi.created_at as "createdAt" insert into saml_message_ids ( uuid, message_id, expiration_date, created_at ) values ( #{dto.uuid, jdbcType=VARCHAR}, #{dto.messageId, jdbcType=VARCHAR}, #{dto.expirationDate, jdbcType=BIGINT}, #{dto.createdAt, jdbcType=BIGINT} ) delete from saml_message_ids where expiration_date < #{now, jdbcType=BIGINT}