@Override
    public User update(final User user) {
        return JooqUtil.transactionResultWithOptimisticLocking(
                securityDbConnProvider,
                context ->
                        update(context, user));
    }
Get user or group by their UUID.
stroom-security/stroom-security-impl-db/src/main/java/stroom/security/impl/db/UserDaoImpl.java