Hello. You can't nest one transaction into another in H2, but you can use a savepoint inside a transaction.
-- some work SAVEPOINT name; -- some work -- Reverts to the specified savepoint ROLLBACK TO SAVEPOINT name; -- Reverts the whole transaction ROLLBACK; https://h2database.com/html/commands.html#savepoint https://h2database.com/html/commands.html#rollback -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/2757e4df-c0dd-4a3e-b674-80bea8eae367%40googlegroups.com.
