Ortus ORM Extension
  • Introduction
    • Release History
      • What's New With 6.x
      • What's New With 5.x
    • About This Book
  • Getting Started
    • Installation
    • Configuration
      • Custom Hibernate Config
      • Secondary Caches
      • Logging
  • Modeling
    • Entities
    • Identifiers
    • Properties
    • Relationships
  • Usage
    • Built-In Functions
    • Querying
    • Events
    • Session Management
    • HQL
    • Transactions
    • Caching
  • External Links
    • API Docs for v6.5.2
    • Source Code
    • Issue Tracker
Powered by GitBook
On this page
  • Transaction Rollback
  • Transaction Commit
  • Transaction Savepoint

Was this helpful?

Edit on GitHub
Export as PDF
  1. Usage

Transactions

Learn transaction management with the ORM Extension

PreviousHQLNextCaching

Last updated 1 year ago

Was this helpful?

A transaction is any discrete unit of work used to pool database queries and statements to execute at once. This helps us to prevent a failed update from leaving the database in a broken state.

To denote a transaction, we wrap it in the transaction{} tag:

transaction{
    // queries go here
}

The transaction will automatically commit (persist) at the end of the transaction block.

Transaction Rollback

This section is missing documentation - would you care to ?

Transaction Commit

This section is missing documentation - would you care to ?

Transaction Savepoint

Savepoints are not currently supported on ORM transactions.

Looking for ORM savepoint support? .

add it yourself
add it yourself
Contact our Support team to consider sponsoring this feature