Handling transactions and concurrency in MikroORM

Martin Adámek
Jun 17 · 7 min read

Wait, what? MikroORM?

Note about persisting

Transaction demarcation

Approach 1: Implicitly

Approach 2: Explicitly

Exception Handling

Concurrency and locking

Why we need concurrency control?

Optimistic Locking

Pessimistic Locking


DailyJS

JavaScript news and opinion.

Martin Adámek

Written by

Long time php/nette/doctrine developer, now shifted to javascript world (node/typescript/angular).

DailyJS

DailyJS

JavaScript news and opinion.