Quantcast
Channel: Vlad Mihalcea
Viewing all articles
Browse latest Browse all 177

The best way to use SQL NOWAIT

$
0
0

Introduction In this article, we are going to see what is the best way to use the amazing SQL NOWAIT feature that allows us to avoid blocking when acquiring a row-level lock. Since all the top major database support this functionality, Hibernate offers a NOWAIT option that allows you to render the proper database-specific syntax associated with this feature without risking database portability. Lock acquisition blocking Relational database systems operate like state machines, and database transactions change the database from one consistent state to another consistent state. In case of a data... Read More

The post The best way to use SQL NOWAIT appeared first on Vlad Mihalcea.


Viewing all articles
Browse latest Browse all 177

Trending Articles