You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "turing85 (via GitHub)" <gi...@apache.org> on 2023/02/08 23:38:07 UTC

[GitHub] [camel] turing85 commented on pull request #9286: Rewrite JdbcOrphanLockAwareIdempotentRepository::insert to not rely on exception

turing85 commented on PR #9286:
URL: https://github.com/apache/camel/pull/9286#issuecomment-1423379588

   @zhfeng I revised tie PR:
   - I reverted the changes to `JdbcMessageIdRepository` since they still caused issues on postgres; I think this is unavoidable without setting `autosave=always`, either on database- or on datasource-level.
   - I rewrote the `JdbcOrphanLockAwareIdempotentRepository::insert` to not rely on an exception. This allows using the repository, even on postgres, without setting `autosave=always` at the cost of an additional query.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org