Подія
31 бер., 23 - 2 квіт., 23
Найбільший навчальний захід SQL, Fabric і Power BI. 31 березня – 2 квітня. Щоб заощадити 400 грн, скористайтеся кодом FABINSIDER.
Реєструйтеся сьогодніЦей браузер більше не підтримується.
Замініть його на Microsoft Edge, щоб користуватися перевагами найновіших функцій, оновлень безпеки та технічної підтримки.
The Microsoft JDBC Driver for SQL Server uses SQL Server row locks. These implement concurrency controls among multiple users who are performing modifications in a database at the same time. By default, transactions and locks are managed on a per-connection basis. For example, if an application opens two JDBC connections, locks that are acquired by one connection cannot be shared with the other connection. Neither connection can acquire locks that would conflict with locks held by the other connection.
Примітка
If row locking is used, all rows in the fetch buffer are locked, so a very large setting for the fetch size can affect concurrency.
Locking is used to assure transactional integrity and database consistency. Locking prevents users from reading data that is being changed by other users, and prevents multiple users from changing the same data at the same time. If locking is not used, data within the database might become logically incorrect, and queries run against that data might produce unexpected results.
Примітка
For more information about row locking in SQL Server, see Locking in the Database Engine.
Подія
31 бер., 23 - 2 квіт., 23
Найбільший навчальний захід SQL, Fabric і Power BI. 31 березня – 2 квітня. Щоб заощадити 400 грн, скористайтеся кодом FABINSIDER.
Реєструйтеся сьогодніНавчання
Модуль
Розуміння паралельності в MySQL - Training
Дізнайтеся про паралельність у MySQL, зокрема про те, як обмежити кількість підключень і коли використовувати пули потоків.
Документація
setAutoCommit Method (SQLServerConnection) - JDBC Driver for SQL Server
Learn the public API details for the setAutoCommit method in the SQLServerConnection class of the JDBC Driver for SQL Server.
Using multiple result sets - JDBC Driver for SQL Server
Learn how to query and retrieve multiple result sets from a single execute using the JDBC Driver for SQL Server.
Transaction locking and row versioning guide - SQL Server
Transaction locking and row versioning guide
Understanding concurrency control - JDBC Driver for SQL Server
Learn about concurrency control and how to preserve database integrity when developing a multi-user application with the JDBC Driver for SQL Server.