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

   > > Wouldn't the proper way be to rewrite the repositories to not use 
queries that could throw a SQLException?
   > 
   > It could be good but I wonder if `tableExistsSql` is db vendor specific?
   
   This query  is vendor-specific. But this part does not seem to be coupled to 
the global transaction manager, hence we might be in the clear here. The 
critical part is the `insert(...)` that might produce a `SqlException` if the 
entry already exists.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to