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

   Please check https://jdbc.postgresql.org/documentation/use/ for 
`autosave=always`.
   ```
   Specifies what the driver should do if a query fails. In autosave=always 
mode, JDBC driver sets a savepoint before each query, and rolls back to that 
savepoint in case of failure. In autosave=never mode (default), no savepoint 
dance is made ever. In autosave=conservative mode, savepoint is set for each 
query, however the rollback is done only for rare cases like ‘cached statement 
cannot change return type’ or ‘statement XXX is not valid’ so JDBC driver rolls 
back and retries
   ```


-- 
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-unsubscr...@camel.apache.org

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

Reply via email to