> add additional synchronization?
> But how?

You should make sure, that one JDBC connections is not used from multiple
threads simultaneously. You can, for example, acquire some lock before
using it.

> Another thing, the JDBC connection can be closed automatically?

Do you mean closing by timeout or something like that? There is nothing
like that, AFAIK. JDBC connection can only close, if some corrupted
messages are met, like in your case.

Denis

чт, 30 нояб. 2017 г. в 11:35, Lucky <wanxing...@163.com>:

> Denis,
>
>      Another thing, the JDBC connection can be closed automatically?
>
>
>
>
>

Reply via email to