НБ
Size: a a a
P
D
VP
KS
PostgreSQL actually treats every SQL statement as being executed within a transaction. If you do not issue a BEGIN command, then each individual statement has an implicit BEGIN and (if successful) COMMIT wrapped around it. A group of statements surrounded by BEGIN and COMMIT is sometimes called a transaction block.Some client libraries issue BEGIN and COMMIT commands automatically, so that you might get the effect of transaction blocks without asking. Check the documentation for the interface you are using.При этом в примерах JDBC -драйвера с выключенным autoCommit никто не делает никаких коммитов. https://jdbc.postgresql.org/documentation/head/query.html
DP
VP
PostgreSQL actually treats every SQL statement as being executed within a transaction. If you do not issue a BEGIN command, then each individual statement has an implicit BEGIN and (if successful) COMMIT wrapped around it. A group of statements surrounded by BEGIN and COMMIT is sometimes called a transaction block.Some client libraries issue BEGIN and COMMIT commands automatically, so that you might get the effect of transaction blocks without asking. Check the documentation for the interface you are using.При этом в примерах JDBC -драйвера с выключенным autoCommit никто не делает никаких коммитов. https://jdbc.postgresql.org/documentation/head/query.html
VP
setAutoCommit(false)
в примере с SELECT не нужен 🤔D
setAutoCommit(false)
в примере с SELECT не нужен 🤔VP
VP
VS
setAutoCommit(false)
в примере с SELECT не нужен 🤔VP
VP
VP
VS
L
VS
VP