Node-Boot Framework
  • 👋Welcome to Node-Boot
  • 💡Why Node-Boot?
    • No CLI
    • No Boilerplate
    • Standardisation at its core
    • Spring-Boot Features Parity
  • 🥇Mission
  • 🚀Getting Started
  • Letter to Developers
    • 📝Letter to Node.Js Developers
    • 📝Letter to Web3 Developers
    • 📝Letter to Spring-Boot Developers
    • 📝Letter to Node.Js Framework Developers
  • Fundamentals
    • 🧩Architecture
      • Overview
      • Bootstrap
      • Lifecycle
      • Application Context
    • 🪄Core Features
      • Dependency Injection
      • Bean and Configuration
      • Configuration Properties
        • Static Configuration
        • Reading Configuration
        • Writing Configuration
        • Defining Configuration
        • Configuration Properties
      • Controller
        • Available Decorators
        • Custom Decorator
        • Versioning
      • Service
      • Component
      • Logging
      • Error Handling
      • Transactions
        • Transaction Principles
        • Transactions vs Concurrency
        • 🙈Using Transactions
      • Middleware/Interceptors
      • Authorization
      • Marshalling vs Unmarshalling
    • 🗝️Auto-Configuration
    • 🔐Security
  • Servers
    • 🚂Servers Concept
    • 🚃Available Servers
      • Fastify
      • Express
      • Koa
    • 🔌Integrate Server?
  • Starters
    • 🏗️Starters Overview
    • 🎁Available Starters
      • Persistency
      • Validations
      • Actuator
      • Open API
      • Redis
Powered by GitBook
On this page
  1. Fundamentals
  2. Core Features

Transactions

PreviousError HandlingNextTransaction Principles

Last updated 1 year ago

In modern web applications, managing transactions is crucial to ensure data consistency and integrity, especially in environments that require multiple operations to be executed as a single unit. A transaction ensures that all operations within it are completed successfully; if any operation fails, the entire transaction is rolled back, leaving the system in a consistent state.

Node-Boot provides a robust layer for handling transactions effectively by leveraging transaction propagation through . This approach reduces boilerplate code and offers a seamless and simplified transaction management solution for developers.

🪄
Node.js Async Hooks
🙈Using Transactions
Multiple transactions sharing the same database.