Guten Tag Thorsten Schöning, am Freitag, 5. Juni 2020 um 11:44 schrieben Sie:
> Transactions are NOT managed by those individual threads and > statements won't be reused as well. So it reads like from a JDBC point > of view, reusing the connection is safe: > https://docs.oracle.com/javadb/10.8.3.0/devguide/cdevconcepts89498.html While I still have the opinion that reusing a connection is safe, this use case doesn't provide concurrent execution of statements like I originally assumed. Instead, the JDBC-driver most likely synchronizes on the underlying connection, serializing concurrent exec this way. https://stackoverflow.com/a/52798543/2055163 https://github.com/pgjdbc/pgjdbc/blob/ecbc48ff6ad293a2555465d4f7fb6a33a403af26/pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java#L276 https://www.postgresql.org/message-id/1102807465.20200608101409%40am-soft.de Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: [email protected] AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...........05151- 9468- 55 Fax...............05151- 9468- 88 Mobil..............0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/738774983.20200608174326%40am-soft.de.
