1 of 1 people found this helpful
> 1. Segregation of batch execution and commit mode in JDBC Translator
Without an enhancement or a significant translator override, you'd have to proxy your driver to control the setAutoCommit and batch logic.
> Is there any specific reason to perform this? Can we change this to stick to the expected standard behaviour?
I think the code there is simply out of date. It should handle the batch case differently, can you log an issue?
Thank you Steven for prompt response.
>1. We are integrating with multiple databases, so proxying each and every driver may not work out very well for our use-case.
>2. I will log the issue for the Update count behaviour. Would it also be addressing the segregation of batch execution and commit as part of the batch code refactor ?
Please confirm if I should log issue only for update Count behaviour or also on the batch execution and commit segregation.
Thanks a lot for your help.
You can a bug for the update count and an enhancement request for the commit behavior.
Thank you Steven. Will log the same.